Remove repeated #defines from cancomms.ino (#658)

They are already in cancomms.h

Co-authored-by: Josh Stewart <josh@noisymime.org>
This commit is contained in:
tx_haggis 2021-09-16 09:10:34 -05:00 committed by GitHub
parent a7281808a6
commit 1b5e351b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -32,10 +32,8 @@ uint8_t Glow, Ghigh;
bool canCmdPending = false;
#if ( defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) )
#define CANSerial_AVAILABLE
HardwareSerial &CANSerial = Serial3;
#elif defined(CORE_STM32)
#define CANSerial_AVAILABLE
#ifndef HAVE_HWSERIAL2 //Hack to get the code to compile on BlackPills
#define Serial2 Serial1
#endif
@ -45,7 +43,6 @@ bool canCmdPending = false;
HardwareSerial &CANSerial = Serial2;
#endif
#elif defined(CORE_TEENSY)
#define CANSerial_AVAILABLE
HardwareSerial &CANSerial = Serial2;
#endif