From 8705049fb620597f8fec630b61c5e53b2cf0f9cb Mon Sep 17 00:00:00 2001 From: DigitalConfections Date: Sat, 30 May 2020 16:59:32 -0400 Subject: [PATCH] Buffer Overflow Fixed o Adjusts the size of the serial transmit buffer to accommodate the largest string being sent. o Updated version to 0.6 --- Arduino-microfox/defs.h | 4 ++-- Arduino-microfox/linkbus.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Arduino-microfox/defs.h b/Arduino-microfox/defs.h index 8de4792..384d3f1 100644 --- a/Arduino-microfox/defs.h +++ b/Arduino-microfox/defs.h @@ -59,7 +59,7 @@ /****************************************************** * Set the text that gets displayed to the user */ -#define SW_REVISION "0.5" +#define SW_REVISION "0.6" //#define TRANQUILIZE_WATCHDOG @@ -115,7 +115,7 @@ INVALID_FOX /****************************************************** * EEPROM definitions */ -#define EEPROM_INITIALIZED_FLAG 0xB0 +#define EEPROM_INITIALIZED_FLAG 0xB1 #define EEPROM_UNINITIALIZED 0x00 #define EEPROM_STATION_ID_DEFAULT "FOXBOX" diff --git a/Arduino-microfox/linkbus.h b/Arduino-microfox/linkbus.h index 1443234..e25292f 100644 --- a/Arduino-microfox/linkbus.h +++ b/Arduino-microfox/linkbus.h @@ -35,7 +35,7 @@ #define LINKBUS_MAX_MSG_FIELD_LENGTH 10 #define LINKBUS_MAX_MSG_NUMBER_OF_FIELDS 3 #define LINKBUS_NUMBER_OF_RX_MSG_BUFFERS 2 -#define LINKBUS_MAX_TX_MSG_LENGTH 30 +#define LINKBUS_MAX_TX_MSG_LENGTH 41 #define LINKBUS_NUMBER_OF_TX_MSG_BUFFERS 4 #define LINKBUS_POWERUP_DELAY_SECONDS 6