1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 03:42:20 +01:00

Add additional custom lint checks (#790)

This commit is contained in:
Otto Winter
2019-10-23 14:43:27 +02:00
committed by GitHub
parent 3f0503c296
commit d63cd8b4cd
28 changed files with 209 additions and 118 deletions

View File

@@ -481,7 +481,7 @@ void WiFiComponent::retry_connect() {
// If retry failed for more than 5 times, let's restart STA
ESP_LOGW(TAG, "Restarting WiFi adapter...");
this->wifi_mode_(false, {});
delay(100);
delay(100); // NOLINT
this->num_retried_ = 0;
} else {
this->num_retried_++;