Skip to content

Commit

Permalink
a fix against regression of ESP32-C3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Aug 2, 2024
1 parent 77e61c2 commit 6cea0b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions software/firmware/source/SoftRF/src/platform/ESP32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2491,10 +2491,12 @@ static void ESP32_fini(int reason)
} else if (esp32_board == ESP32_LILYGO_T3S3_EPD) {
WIRE_FINI(Wire);

#if defined(CONFIG_IDF_TARGET_ESP32S3)
pinMode(SOC_GPIO_PIN_T3S3_3V3EN, OUTPUT);
digitalWrite(SOC_GPIO_PIN_T3S3_3V3EN, LOW);
gpio_hold_en(GPIO_NUM_35);
gpio_deep_sleep_hold_en();
#endif /* CONFIG_IDF_TARGET_ESP32S3 */

#if !defined(CONFIG_IDF_TARGET_ESP32C2) && !defined(CONFIG_IDF_TARGET_ESP32C3)
esp_sleep_enable_ext1_wakeup(1ULL << SOC_GPIO_PIN_S3_BUTTON,
Expand Down

0 comments on commit 6cea0b3

Please sign in to comment.