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 33965d1 commit 909b46fCopy full SHA for 909b46f
lib/hardware/fnSystem.cpp
@@ -93,7 +93,7 @@
93
94
95
#ifdef ESP_PLATFORM
96
-#if 0
+#if defined(BUILD_ATARI) || defined(PINMAP_ESP32S3)
97
static QueueHandle_t card_detect_evt_queue = NULL;
98
99
static void IRAM_ATTR card_detect_isr_handler(void *arg)
@@ -142,7 +142,8 @@ static void setup_card_detect(gpio_num_t pin)
142
// Add the card detect handler
143
gpio_isr_handler_add(pin, card_detect_isr_handler, (void *)pin);
144
}
145
-#endif
+#endif // PINMAP_ESP32S3
146
+
147
// ESP_PLATFORM
148
#else
149
// !ESP_PLATFORM
0 commit comments