mirror of
https://github.com/esphome/esphome.git
synced 2025-02-07 05:30:54 +00:00
Small fix with ifdef in dallas
This commit is contained in:
parent
dbbbba3cf8
commit
7a80bfae50
@ -251,7 +251,7 @@ bool DallasTemperatureSensor::check_scratch_pad() {
|
|||||||
config_validity = ((this->scratch_pad_[4] & 0x10) == 0x10);
|
config_validity = ((this->scratch_pad_[4] & 0x10) == 0x10);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE
|
||||||
ESP_LOGVV(TAG, "Scratch pad: %02X.%02X.%02X.%02X.%02X.%02X.%02X.%02X.%02X (%02X)", this->scratch_pad_[0],
|
ESP_LOGVV(TAG, "Scratch pad: %02X.%02X.%02X.%02X.%02X.%02X.%02X.%02X.%02X (%02X)", this->scratch_pad_[0],
|
||||||
this->scratch_pad_[1], this->scratch_pad_[2], this->scratch_pad_[3], this->scratch_pad_[4],
|
this->scratch_pad_[1], this->scratch_pad_[2], this->scratch_pad_[3], this->scratch_pad_[4],
|
||||||
this->scratch_pad_[5], this->scratch_pad_[6], this->scratch_pad_[7], this->scratch_pad_[8],
|
this->scratch_pad_[5], this->scratch_pad_[6], this->scratch_pad_[7], this->scratch_pad_[8],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user