Renamed states of NFC state machine and introduced new state machine for spoolman API

This commit is contained in:
Jan Philipp Ecker
2025-03-29 13:21:47 +01:00
parent c701149c64
commit ac8adca84d
7 changed files with 49 additions and 37 deletions

View File

@@ -177,7 +177,7 @@ void oledShowTopRow() {
display.drawBitmap(50, 0, bitmap_off , 16, 16, WHITE);
}
if (spoolman_connected == 1) {
if (spoolmanApiState != API_INIT) {
display.drawBitmap(80, 0, bitmap_spoolman_on , 16, 16, WHITE);
} else {
display.drawBitmap(80, 0, bitmap_off , 16, 16, WHITE);