File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 39
39
//--------------------------------------------------------------------+
40
40
// ESP32 out-of-sync
41
41
//--------------------------------------------------------------------+
42
- #if defined(ARDUINO_ARCH_ESP32 ) && !defined(PLATFORMIO ) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL (4 , 4 , 5 )
42
+ #if defined(ARDUINO_ARCH_ESP32 ) && !defined(PLATFORMIO )
43
+ #if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL (4 , 4 , 5 )
43
44
typedef struct {
44
45
uint8_t daddr ;
45
46
tusb_desc_interface_t desc ;
@@ -148,7 +149,7 @@ TU_ATTR_ALWAYS_INLINE static inline
148
149
bool tu_edpt_stream_peek (tu_edpt_stream_t * s , uint8_t * ch ) {
149
150
return tu_fifo_peek (& s -> ff , ch );
150
151
}
151
-
152
+ #endif
152
153
#endif
153
154
154
155
#include "cdc_host.h"
Original file line number Diff line number Diff line change 37
37
#include "host/usbh_pvt.h"
38
38
39
39
// ESP32 out-of-sync
40
- #if defined(ARDUINO_ARCH_ESP32 ) && !defined(PLATFORMIO ) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL (4 , 4 , 5 )
40
+ #if defined(ARDUINO_ARCH_ESP32 ) && !defined(PLATFORMIO )
41
+ #if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL (4 , 4 , 5 )
41
42
typedef struct {
42
43
uint8_t daddr ;
43
44
tusb_desc_interface_t desc ;
44
45
} tuh_itf_info_t ;
45
46
#endif
47
+ #endif
46
48
47
49
#include "hid_host.h"
48
50
You can’t perform that action at this time.
0 commit comments