This repository was archived by the owner on Jan 28, 2021. It is now read-only.
File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 56
56
// Boards like the RedBoard Turbo use SerialUSB (not Serial).
57
57
// But other boards like the SAMD51 Thing Plus use Serial (not SerialUSB).
58
58
// The next nine lines let the code compile cleanly on as many SAMD boards as possible.
59
- #if defined(ARDUINO_ARCH_SAMD) // Is this a SAMD board?
60
- #if defined(USB_VID) // Is the USB Vendor ID defined?
61
- #if (USB_VID == 0x1B4F) // Is this a SparkFun board?
62
- #if !defined(ARDUINO_SAMD51_THING_PLUS) // If it is not a SAMD51 Thing Plus
63
- #define Serial SerialUSB // Define Serial as SerialUSB
59
+ #if defined(ARDUINO_ARCH_SAMD) // Is this a SAMD board?
60
+ #if defined(USB_VID) // Is the USB Vendor ID defined?
61
+ #if (USB_VID == 0x1B4F) // Is this a SparkFun board?
62
+ #if !defined(ARDUINO_SAMD51_THING_PLUS) & !defined(ARDUINO_SAMD51_MICROMOD) // If it is not a SAMD51 Thing Plus or SAMD51 MicroMod
63
+ #define Serial SerialUSB // Define Serial as SerialUSB
64
64
#endif
65
65
#endif
66
66
#endif
67
67
#endif
68
+
68
69
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
69
70
70
71
// Define a digital pin to aid checksum failure capture and analysis
You can’t perform that action at this time.
0 commit comments