Always use brackets around single log macros (#4072)

This commit is contained in:
Jesse Hills authored and GitHub committed 2022-11-23 10:32:51 +13:00
1 parent 91925b1826
commit ef26677b67
29 files changed
+133 -68

No files matched your search

@@ -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