mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 15:42:22 +01:00
Always use brackets around single log macros (#4072)
This commit is contained in:
@@ -71,8 +71,9 @@ void SonoffD1Output::skip_command_() {
|
||||
}
|
||||
|
||||
// Warn about unexpected bytes in the protocol with UART dimmer
|
||||
if (garbage)
|
||||
if (garbage) {
|
||||
ESP_LOGW(TAG, "[%04d] Skip %d bytes from the dimmer", this->write_count_, garbage);
|
||||
}
|
||||
}
|
||||
|
||||
// This assumes some data is already available
|
||||
|
Reference in New Issue
Block a user