mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 16:08:10 +01:00
nolint fix
This commit is contained in:
parent
58dcc3b44c
commit
ac1bd3012a
1 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,7 @@ void ModemComponent::setup() {
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// NOLINTEND
|
// NOLINTEND(bugprone-branch-clone)
|
||||||
|
|
||||||
assert(this->dce);
|
assert(this->dce);
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ void ModemComponent::start_connect_() {
|
||||||
this->connect_begin_ = millis();
|
this->connect_begin_ = millis();
|
||||||
this->status_set_warning("Starting connection");
|
this->status_set_warning("Starting connection");
|
||||||
|
|
||||||
global_modem_component->got_ipv4_address_ = false; // why not this ?
|
global_modem_component->got_ipv4_address_ = false;
|
||||||
|
|
||||||
this->dce->set_mode(modem_mode::COMMAND_MODE);
|
this->dce->set_mode(modem_mode::COMMAND_MODE);
|
||||||
vTaskDelay(pdMS_TO_TICKS(2000));
|
vTaskDelay(pdMS_TO_TICKS(2000));
|
||||||
|
|
Loading…
Reference in a new issue