Skip to content

Commit

Permalink
Improve board detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
budulinek committed Feb 27, 2023
1 parent e9b04e0 commit 4bdf86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arduino-modbus-rtu-tcp-gateway/01-interfaces.ino
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ ISR(WDT_vect) {
#elif defined(__MK66FX1M0__)
#define BOARD F("Teensy 3.6")
#else
#error "Unknown board"
#define BOARD F("Unknown board")
#endif

#else // --------------- Arduino ------------------
Expand Down Expand Up @@ -412,7 +412,7 @@ ISR(WDT_vect) {
#elif defined(ARDUINO_ARC32_TOOLS)
#define BOARD F("Arduino 101")
#else
#error "Unknown board"
#define BOARD F("Unknown board")
#endif

#endif

0 comments on commit 4bdf86b

Please sign in to comment.