Update WiFi event names
@@ -84,12 +84,12 @@ void Networking::activate_wifi_manager() {
void Networking::setup_wifi_callbacks() {
WiFi.onEvent([this](WiFiEvent_t event,
WiFiEventInfo_t info) { this->wifi_station_connected(); },
- WiFiEvent_t::SYSTEM_EVENT_STA_GOT_IP);
+ WiFiEvent_t::ARDUINO_EVENT_WIFI_STA_GOT_IP);
WiFi.onEvent(
[this](WiFiEvent_t event, WiFiEventInfo_t info) {
this->wifi_station_disconnected();
},
- WiFiEvent_t::SYSTEM_EVENT_STA_DISCONNECTED);
+ WiFiEvent_t::ARDUINO_EVENT_WIFI_STA_DISCONNECTED);
}
/**
