Skip to content

Commit

Permalink
Enable ipv6 for esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Jul 2, 2024
1 parent f592506 commit 6906290
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ksf/ksConstants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ namespace ksf
WiFi.mode(WIFI_OFF);
WiFi.setAutoReconnect(false);

#if ESP32
WiFi.enableIPv6();
#endif

/* Create NVS directory. */
if (auto nvsDir{getNvsDirectory()}; !LittleFS.exists(nvsDir))
LittleFS.mkdir(nvsDir);
Expand Down

0 comments on commit 6906290

Please sign in to comment.