Fix for new comms not compiling on stm32
This commit is contained in:
parent
db2e667abb
commit
4f1809ba9d
|
@ -116,8 +116,8 @@ void parseSerial()
|
||||||
|
|
||||||
void sendSerialReturnCode(byte returnCode)
|
void sendSerialReturnCode(byte returnCode)
|
||||||
{
|
{
|
||||||
Serial.write(0);
|
Serial.write((uint8_t)0);
|
||||||
Serial.write(1); //Size is always 1
|
Serial.write((uint8_t)1); //Size is always 1
|
||||||
|
|
||||||
Serial.write(returnCode);
|
Serial.write(returnCode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue