Merge pull request #378 from fleinze/patch-4
Compatibility with atmega32U4 (Arduino micro)
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
int main(void) {
|
||||
init();
|
||||
#if defined(USBCON)
|
||||
USBDevice.init();
|
||||
#if defined(ARDUINO_ARCH_SAMD)
|
||||
USBDevice.init();
|
||||
#endif
|
||||
USBDevice.attach();
|
||||
#endif
|
||||
_begin(); // Startup MySensors library
|
||||
|
||||
Reference in New Issue
Block a user