mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
fix tab
This commit is contained in:
parent
433c6866cb
commit
41f03a91b7
1 changed files with 6 additions and 6 deletions
|
@ -71,12 +71,12 @@ bool CSE7766Component::check_byte_() {
|
||||||
void CSE7766Component::parse_data_() {
|
void CSE7766Component::parse_data_() {
|
||||||
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
||||||
{
|
{
|
||||||
std::string s = "Raw data:";
|
std::string s = "Raw data:";
|
||||||
char buff[4] = {0};
|
char buff[4] = {0};
|
||||||
for (uint8_t i = 0; i <= 23; i++) {
|
for (uint8_t i = 0; i <= 23; i++) {
|
||||||
snprintf(buff, sizeof(buff), " %02X", this->raw_data_[i]);
|
snprintf(buff, sizeof(buff), " %02X", this->raw_data_[i]);
|
||||||
s += buff;
|
s += buff;
|
||||||
}
|
}
|
||||||
ESP_LOGVV(TAG, "%s", s.c_str());
|
ESP_LOGVV(TAG, "%s", s.c_str());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue