Skip to content

Commit

Permalink
feat(sdmmc): fixed example USB check
Browse files Browse the repository at this point in the history
  • Loading branch information
lbernstone committed Jun 11, 2024
1 parent ad27a17 commit c92bd43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/SD_MMC/examples/SD2USBMSC/SD2USBMSC.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef ARDUINO_USB_MODE
#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
#endif

#include <USB.h>
Expand Down

0 comments on commit c92bd43

Please sign in to comment.