fix compile errors

This commit is contained in:
darren siepka 2019-08-10 13:40:22 +01:00
parent a3255c40f4
commit fa8ff51ddd
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ void sendcanValues(uint16_t offset, uint16_t packetLength, byte cmd, byte portTy
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)|| defined(CORE_STM32) || defined (CORE_TEENSY) //ATmega2561 does not have Serial3
if (offset == 0)
{
if (cmd == 0x30 {CANSerial.write("A");} // confirm command type
if (cmd == 0x30) {CANSerial.write("A");} // confirm command type
else
{
CANSerial.write("n"); // confirm command type