Always use brackets around single log macros (#4072)

This commit is contained in:
Jesse Hills
2022-11-23 10:32:51 +13:00
committed by GitHub
parent 91925b1826
commit ef26677b67
29 changed files with 133 additions and 68 deletions
@@ -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