We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad27a17 commit c92bd43Copy full SHA for c92bd43
libraries/SD_MMC/examples/SD2USBMSC/SD2USBMSC.ino
@@ -1,5 +1,5 @@
1
-#ifndef ARDUINO_USB_MODE
2
-#error This sketch requires a device capable of USB-OTG
+#if !SOC_USB_OTG_SUPPORTED || ARDUINO_USB_MODE
+#error Device does not support USB_OTG or native USB CDC/JTAG is selected
3
#endif
4
5
#include <USB.h>
0 commit comments