Skip to content

Commit

Permalink
Merge pull request #166 from airgradienthq/hotfix/wifi-not-reset-in-o…
Browse files Browse the repository at this point in the history
…ffline-mode

[Fix] WiFi not reset on offline mode
  • Loading branch information
pnt325 committed Jun 5, 2024
2 parents 960d2ba + 3e2e8b1 commit 7066209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/OneOpenAir/OneOpenAir.ino
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ static void factoryConfigReset(void) {
}

/** Reset WIFI */
WiFi.enableSTA(true); // Incase offline mode
WiFi.disconnect(true, true);

/** Reset local config */
Expand Down

0 comments on commit 7066209

Please # to comment.