Skip to content

Commit

Permalink
Remove uncompressed style.css. Combine SSID/PWD on same line and togg…
Browse files Browse the repository at this point in the history
…le between the two every 10 seconds.
  • Loading branch information
mc-hamster committed Oct 19, 2020
1 parent ff20b29 commit e927991
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 278 deletions.
277 changes: 0 additions & 277 deletions data/style.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/graphics/Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ void DebugInfo::drawFrameWiFi(OLEDDisplay *display, OLEDDisplayUiState *state, i
}
}

if ((millis() / 1000) % 2) {
if ((millis() / 10000) % 2) {
display->drawString(x, y + FONT_HEIGHT_SMALL * 2, "SSID: " + String(wifiName));
} else {
display->drawString(x, y + FONT_HEIGHT_SMALL * 2, "PWD: " + String(wifiPsw));
Expand Down

0 comments on commit e927991

Please sign in to comment.