Skip to content

Commit b5ad457

Browse files
committed
fix version typo check for 2.0.14
1 parent 702d953 commit b5ad457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/portable/analog/max3421/hcd_max3421.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ bool hcd_setup_send(uint8_t rhport, uint8_t daddr, uint8_t const setup_packet[8]
677677
}
678678

679679
// ESP32 out-of-sync
680-
#if defined(ARDUINO_ARCH_ESP32) && ESP_ARDUINO_VERSION < 0x020014 && !defined(PLATFORMIO)
680+
#if defined(ARDUINO_ARCH_ESP32) && ESP_ARDUINO_VERSION < 0x02000E && !defined(PLATFORMIO)
681681
bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr) {
682682
#else
683683
// clear stall, data toggle is also reset to DATA0
@@ -875,7 +875,7 @@ void print_hirq(uint8_t hirq) {
875875
#endif
876876

877877
// ESP32 out-of-sync
878-
#if defined(ARDUINO_ARCH_ESP32) && ESP_ARDUINO_VERSION < 0x020014 && !defined(PLATFORMIO)
878+
#if defined(ARDUINO_ARCH_ESP32) && ESP_ARDUINO_VERSION < 0x02000E && !defined(PLATFORMIO)
879879
void hcd_int_handler_esp32(uint8_t rhport, bool in_isr) {
880880
#else
881881
// Interrupt handler

0 commit comments

Comments
 (0)