26
26
#define ADAFRUIT_TINYUSB_H_
27
27
28
28
// Error message for Core that must select TinyUSB via menu
29
- #if !defined(USE_TINYUSB ) && ( defined(ARDUINO_ARCH_SAMD ) || \
30
- (defined(ARDUINO_ARCH_RP2040 ) && !defined(ARDUINO_ARCH_MBED )) )
29
+ #if !defined(USE_TINYUSB ) && \
30
+ (defined(ARDUINO_ARCH_SAMD ) || \
31
+ (defined(ARDUINO_ARCH_RP2040 ) && !defined(ARDUINO_ARCH_MBED )))
31
32
#error TinyUSB is not selected, please select it in "Tools->Menu->USB Stack"
32
33
#endif
33
34
39
40
#include "arduino/Adafruit_USBD_Device.h"
40
41
41
42
#if CFG_TUD_CDC
42
- #include "arduino/Adafruit_USBD_CDC.h"
43
+ #include "arduino/Adafruit_USBD_CDC.h"
43
44
#endif
44
45
45
46
#if CFG_TUD_HID
46
- #include "arduino/hid/Adafruit_USBD_HID.h"
47
+ #include "arduino/hid/Adafruit_USBD_HID.h"
47
48
#endif
48
49
49
50
#if CFG_TUD_MIDI
50
- #include "arduino/midi/Adafruit_USBD_MIDI.h"
51
+ #include "arduino/midi/Adafruit_USBD_MIDI.h"
51
52
#endif
52
53
53
54
#if CFG_TUD_MSC
54
- #include "arduino/msc/Adafruit_USBD_MSC.h"
55
+ #include "arduino/msc/Adafruit_USBD_MSC.h"
55
56
#endif
56
57
57
58
#if CFG_TUD_VENDOR
58
- #include "arduino/webusb/Adafruit_USBD_WebUSB.h"
59
+ #include "arduino/webusb/Adafruit_USBD_WebUSB.h"
59
60
#endif
60
61
61
62
// Initialize device hardware, stack, also Serial as CDC
@@ -70,11 +71,11 @@ void TinyUSB_Device_Init(uint8_t rhport);
70
71
#include "arduino/Adafruit_USBH_Host.h"
71
72
72
73
#if CFG_TUH_CDC
73
- #include "arduino/cdc/Adafruit_USBH_CDC.h"
74
+ #include "arduino/cdc/Adafruit_USBH_CDC.h"
74
75
#endif
75
76
76
77
#if CFG_TUH_MSC
77
- #include "arduino/msc/Adafruit_USBH_MSC.h"
78
+ #include "arduino/msc/Adafruit_USBH_MSC.h"
78
79
#endif
79
80
80
81
#endif
0 commit comments