Skip to content

Commit c92bd43

Browse files
committed
feat(sdmmc): fixed example USB check
1 parent ad27a17 commit c92bd43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/SD_MMC/examples/SD2USBMSC/SD2USBMSC.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef ARDUINO_USB_MODE
2-
#error This sketch requires a device capable of USB-OTG
1+
#if !SOC_USB_OTG_SUPPORTED || ARDUINO_USB_MODE
2+
#error Device does not support USB_OTG or native USB CDC/JTAG is selected
33
#endif
44

55
#include <USB.h>

0 commit comments

Comments
 (0)