mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-31 03:55:46 +00:00
* companion_radio_usb: encoding in ArduinoSerialInterface changed to 16-bit frame lengths
* MAX_FRAME_SIZE now 172 (to fit max 160 byte text msg)
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
class ArduinoSerialInterface : public BaseSerialInterface {
|
||||
bool _isEnabled;
|
||||
uint8_t _state;
|
||||
uint8_t _frame_len;
|
||||
uint8_t rx_len;
|
||||
uint16_t _frame_len;
|
||||
uint16_t rx_len;
|
||||
HardwareSerial* _serial;
|
||||
uint8_t rx_buf[MAX_FRAME_SIZE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user