MuratovAS / gps-ntp-eth-esp32

Simple NTP server with GPS satellites synchronization.
Apache License 2.0
16 stars 4 forks source link

Function as station error #2

Closed mohog closed 7 months ago

mohog commented 7 months ago

Looks like you have a minor error:

// Wifi.

ifdef OPERATE_AS_AP

// Stand-alone access point.
WiFi.disconnect(true); // This re-initialises the wifi.
WiFi.softAP(ssid, ssid, CHANNEL, HIDE_SSID, MAX_CONNECTION);
#endif

Looks like it should be: // Wifi.

ifdef OPERATE_AS_AP

// Stand-alone access point.
WiFi.disconnect(true); // This re-initialises the wifi.
WiFi.softAP(ssid, pass, CHANNEL, HIDE_SSID, MAX_CONNECTION);
#endif
MuratovAS commented 7 months ago

Thank you. Corrected. I have not used this mode just right :)