Skip to content

Commit

Permalink
Hotspot mode
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbles07 committed Dec 6, 2024
1 parent 4ae0206 commit e3156d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/OneOpenAir/OneOpenAir.ino
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ void setup() {
WiFi.softAP("airgradient", "cleanair");
IPAddress IP = WiFi.softAPIP();
Serial.print("AP IP address: ");
Serial.println(IP);
Serial.println(IP);

oledDisplay.setText("", "Offline Storage Mode", "");
oledDisplay.setText("", "Offline Storage Mode", "");

delay(3000);
mdnsInit();
localServer.begin();
mdnsInit();
localServer.begin();

// Update display and led bar after finishing setup to show dashboard
updateDisplayAndLedBar();
}
Expand Down Expand Up @@ -903,8 +903,8 @@ static void updateDisplayAndLedBar(void) {

if (configuration.isOfflineMode()) {
// Ignore network related status when in offline mode
stateMachine.displayHandle(AgStateMachineNormal);
// stateMachine.handleLeds(AgStateMachineNormal);
stateMachine.displayHandle(AgStateMachineNormal);
// stateMachine.handleLeds(AgStateMachineNormal);
return;
}

Expand Down

0 comments on commit e3156d4

Please sign in to comment.