We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a18797 + f6531cf commit 95e8493Copy full SHA for 95e8493
libraries/MySensors/core/MyMainDefault.cpp
@@ -3,7 +3,9 @@
3
int main(void) {
4
init();
5
#if defined(USBCON)
6
- USBDevice.init();
+ #if defined(ARDUINO_ARCH_SAMD)
7
+ USBDevice.init();
8
+ #endif
9
USBDevice.attach();
10
#endif
11
_begin(); // Startup MySensors library
0 commit comments