Fix for new comms not compiling on stm32

This commit is contained in:
Josh Stewart 2021-11-19 11:26:12 +11:00
parent db2e667abb
commit 4f1809ba9d
1 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ void parseSerial()
void sendSerialReturnCode(byte returnCode)
{
Serial.write(0);
Serial.write(1); //Size is always 1
Serial.write((uint8_t)0);
Serial.write((uint8_t)1); //Size is always 1
Serial.write(returnCode);