We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043f3de commit 1c7614bCopy full SHA for 1c7614b
hardware/arduino/avr/cores/arduino/main.cpp
@@ -29,7 +29,7 @@ void initVariant() { }
29
30
void setupUSB() __attribute__((weak));
31
void setupUSB() {
32
-#if defined(USBCON) && (MAGIC_KEY_POS != (RAMEND-1))
+#if defined(USBCON) && defined(DYNAMIC_USB_CORE_INCLUDE))
33
USBDevice.attach();
34
#endif
35
}
0 commit comments