Skip to content

Commit

Permalink
fix(esp32): 🐛 Fixed "Invalid mbox" in the Wi-Fi example
Browse files Browse the repository at this point in the history
  • Loading branch information
kinoh committed Feb 17, 2024
1 parent bc769fd commit 4f41577
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/ESP32/examples/Time/SimpleTime/SimpleTime.ino
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ void setup()
{
Serial.begin(115200);

// configure WiFi
WiFi.mode(WIFI_STA);

// set notification call-back function
sntp_set_time_sync_notification_cb( timeavailable );

Expand Down

0 comments on commit 4f41577

Please sign in to comment.