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

@@ -6,7 +6,13 @@
#include "website.h"
#include "display.h"
#include <ArduinoJson.h>
typedef enum {
API_INIT,
API_IDLE,
API_TRANSMITTING
} spoolmanApiStateType;
extern volatile spoolmanApiStateType spoolmanApiState;
extern bool spoolman_connected;
extern String spoolmanUrl;
extern bool octoEnabled;