mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
tidy
This commit is contained in:
@@ -2216,9 +2216,9 @@ void WiFiComponent::notify_connect_state_listeners_() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void WiFiComponent::notify_disconnect_state_listeners_() {
|
void WiFiComponent::notify_disconnect_state_listeners_() {
|
||||||
constexpr uint8_t EMPTY_BSSID[6] = {};
|
constexpr uint8_t empty_bssid[6] = {};
|
||||||
for (auto *listener : this->connect_state_listeners_) {
|
for (auto *listener : this->connect_state_listeners_) {
|
||||||
listener->on_wifi_connect_state(StringRef(), EMPTY_BSSID);
|
listener->on_wifi_connect_state(StringRef(), empty_bssid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // USE_WIFI_CONNECT_STATE_LISTENERS
|
#endif // USE_WIFI_CONNECT_STATE_LISTENERS
|
||||||
|
|||||||
Reference in New Issue
Block a user