mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-30 09:48:27 +02:00
Always use brackets around single log macros (#4072)
This commit is contained in:
@@ -196,8 +196,9 @@ void Sim800LComponent::parse_cmd_(std::string message) {
|
||||
// "+CREG: -,-" means not registered ok
|
||||
bool registered = message.compare(0, 6, "+CREG:") == 0 && (message[9] == '1' || message[9] == '5');
|
||||
if (registered) {
|
||||
if (!this->registered_)
|
||||
if (!this->registered_) {
|
||||
ESP_LOGD(TAG, "Registered OK");
|
||||
}
|
||||
this->state_ = STATE_CSQ;
|
||||
this->expect_ack_ = true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user