mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 12:43:28 +02:00
Always use brackets around single log macros (#4072)
This commit is contained in:
@@ -236,8 +236,9 @@ void ProntoProtocol::dump(const ProntoData &data) {
|
||||
rest = data.data.substr(230);
|
||||
}
|
||||
ESP_LOGD(TAG, "Received Pronto: data=%s", first.c_str());
|
||||
if (!rest.empty())
|
||||
if (!rest.empty()) {
|
||||
ESP_LOGD(TAG, "%s", rest.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace remote_base
|
||||
|
||||
Reference in New Issue
Block a user