Skip to content

Commit 051b971

Browse files
authored
fix 8266 issue with USB HID import (#56)
1 parent f863f47 commit 051b971

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/ECrowneJoystick/ECrowneJoystick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#include "USBHID.h"
21

32
#if SOC_USB_OTG_SUPPORTED
43
#if CONFIG_TINYUSB_HID_ENABLED
4+
#include "USBHID.h"
55

66
#include <ECrowneJoystick.h>
77
#include <Arduino.h>

lib/ECrowneJoystick/ECrowneJoystick.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
#pragma once
44

5-
#include "USBHID.h"
6-
75
#if SOC_USB_OTG_SUPPORTED
6+
#include "USBHID.h"
87
#if CONFIG_TINYUSB_HID_ENABLED
98
#define MAX_BUTTONS 128
109

0 commit comments

Comments
 (0)