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

This commit is contained in:
Jan Philipp Ecker committed 2025-03-29 13:21:47 +01:00
1 parent 99231786a5
commit 69f01d1e57
7 files changed
+49 -37

No files matched your search

+1 -1
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);