8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afceb56 commit 61c02e6Copy full SHA for 61c02e6
ports/esp32/machine_pin.c
@@ -92,7 +92,11 @@ STATIC const machine_pin_obj_t machine_pin_obj[] = {
92
#endif
93
{{&machine_pin_type}, GPIO_NUM_18},
94
{{&machine_pin_type}, GPIO_NUM_19},
95
+ #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 1, 0)
96
+ {{&machine_pin_type}, GPIO_NUM_20},
97
+ #else
98
{{NULL}, -1},
99
+ #endif
100
{{&machine_pin_type}, GPIO_NUM_21},
101
{{&machine_pin_type}, GPIO_NUM_22},
102
{{&machine_pin_type}, GPIO_NUM_23},
@@ -560,7 +564,11 @@ STATIC const machine_pin_irq_obj_t machine_pin_irq_object[] = {
560
564
561
565
{{&machine_pin_irq_type}, GPIO_NUM_18},
562
566
{{&machine_pin_irq_type}, GPIO_NUM_19},
567
568
+ {{&machine_pin_irq_type}, GPIO_NUM_20},
569
563
570
571
572
{{&machine_pin_irq_type}, GPIO_NUM_21},
573
{{&machine_pin_irq_type}, GPIO_NUM_22},
574
{{&machine_pin_irq_type}, GPIO_NUM_23},
0 commit comments