Skip to content

Commit

Permalink
fix build with host native
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Mar 7, 2025
1 parent 7f7ac74 commit cfe6da8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/arduino/Adafruit_USBD_Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include "esp32-hal-tinyusb.h"
#endif

#if CFG_TUD_ENABLED

class Adafruit_USBD_Device {
private:
enum { STRING_DESCRIPTOR_MAX = 12 };
Expand Down Expand Up @@ -146,4 +148,5 @@ extern Adafruit_USBD_Device TinyUSBDevice;
#define USBDevice TinyUSBDevice
#endif

#endif /* ADAFRUIT_USBD_DEVICE_H_ */
#endif /* CFG_TUD_ENABLED */
#endif /* ADAFRUIT_USBD_DEVICE_H_ */

0 comments on commit cfe6da8

Please sign in to comment.