mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-07-24 15:25:24 -04:00
On-board packet queue
This commit is contained in:
parent
0dd6ce6539
commit
11e3b8908d
3 changed files with 113 additions and 9 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue