On-board packet queue
This commit is contained in:
@@ -48,11 +48,15 @@
|
||||
#define ERROR_INITRADIO 0x01
|
||||
#define ERROR_TXFAILED 0x02
|
||||
#define ERROR_EEPROM_LOCKED 0x03
|
||||
#define ERROR_QUEUE_FULL 0x04
|
||||
|
||||
// Serial framing variables
|
||||
size_t frame_len;
|
||||
bool IN_FRAME = false;
|
||||
bool ESCAPE = false;
|
||||
bool SERIAL_READING = false;
|
||||
uint8_t command = CMD_UNKNOWN;
|
||||
uint32_t last_serial_read = 0;
|
||||
uint32_t serial_read_timeout_ms = 2;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user