Fixed powerOff at uA for Esp32C6 and station g3

This commit is contained in:
Kevin Le committed 2026-07-06 09:16:50 +07:00
1 parent c2697269f6
commit 46c729b2e9
3 files changed
+17 -31

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ void ESP32Board::enterDeepSleep(uint32_t secs) {
// Keep LoRa inactive during deepsleep
digitalWrite(P_LORA_NSS, HIGH);
#if CONFIG_IDF_TARGET_ESP32C3
#if defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32C6)
gpio_hold_en((gpio_num_t)P_LORA_NSS);
#else
rtc_gpio_hold_en((gpio_num_t)P_LORA_NSS);