Temporary workaround for RealDash communication using legacy interface

This commit is contained in:
Josh Stewart 2023-09-18 16:07:07 +10:00
parent 0c6a89b00d
commit 94e90c5f63
2 changed files with 5 additions and 3 deletions

View File

@ -557,8 +557,9 @@ void processSerialCommand(void)
switch (serialPayload[0])
{
case 'A': // send x bytes of realtime values
generateLiveValues(0, LOG_ENTRY_SIZE);
case 'A': // send x bytes of realtime values in legacy support format
//generateLiveValues(0, LOG_ENTRY_SIZE);
generateLiveValues(0, 122); //Workaround for RealDash until they move to new comms mode
break;
case 'b': // New EEPROM burn command to only burn a single page at a time

View File

@ -66,7 +66,8 @@ void legacySerialCommand(void)
break;
case 'A': // send x bytes of realtime values
sendValues(0, LOG_ENTRY_SIZE, 0x31, 0); //send values to serial0
//sendValues(0, LOG_ENTRY_SIZE, 0x31, 0); //send values to serial0
sendValues(0, 122, 0x31, 0); //send values to serial0. Fixed value of 122 is a workaround for RealDash until a better solution is implemented
break;
case 'b': // New EEPROM burn command to only burn a single page at a time