Use #elif for mutually exclusive platform guards

This commit is contained in:
J. Nick Koston
2026-03-04 22:30:28 -10:00
parent 6af723e87d
commit 8050fa6801
@@ -45,9 +45,7 @@ void IRAM_ATTR socket_wake() {
s_socket_woke = true;
esp_schedule();
}
#endif
#ifdef USE_RP2040
#elif defined(USE_RP2040)
// RP2040 (non-FreeRTOS) socket wake using hardware WFE/SEV instructions.
//
// Same pattern as ESP8266's esp_delay()/esp_schedule(): set a one-shot timer,