From fa8ff51ddd9dbbd0cb4b09a6194aaf010b785382 Mon Sep 17 00:00:00 2001 From: darren siepka Date: Sat, 10 Aug 2019 13:40:22 +0100 Subject: [PATCH] fix compile errors --- speeduino/cancomms.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speeduino/cancomms.ino b/speeduino/cancomms.ino index ed979608..7674ff33 100644 --- a/speeduino/cancomms.ino +++ b/speeduino/cancomms.ino @@ -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