Browse Source

fix github actions for ESP32

pull/518/head
lumapu 2 years ago
parent
commit
c973d6eace
  1. 1
      src/wifi/ahoywifi.cpp
  2. 2
      src/wifi/ahoywifi.h

1
src/wifi/ahoywifi.cpp

@ -42,7 +42,6 @@ void ahoywifi::setup(settings_t *config, uint32_t *utcTimestamp) {
//-----------------------------------------------------------------------------
void ahoywifi::setupWifi(void) {
#if !defined(FB_WIFI_OVERRIDDEN)
//if(strncmp(mConfig->sys.stationSsid, FB_WIFI_SSID, 14) == 0)
setupAp();
delay(1000);
#endif

2
src/wifi/ahoywifi.h

@ -31,8 +31,8 @@ class ahoywifi {
void setupAp(void);
void setupStation(void);
void sendNTPpacket(IPAddress& address);
#if defined(ESP8266)
void connectionEvent(bool connected);
#if defined(ESP8266)
void onConnect(const WiFiEventStationModeConnected& event);
void onGotIP(const WiFiEventStationModeGotIP& event);
void onDisconnect(const WiFiEventStationModeDisconnected& event);

Loading…
Cancel
Save