Thinknode_m5 minor fixes (#10049)

This commit is contained in:
Jonathan Bennett
2026-04-01 21:13:16 -05:00
committed by GitHub
co-authored by GitHub
parent 8dc3c0541b
commit 98efb25a0c
5 changed files with 15 additions and 8 deletions
+3 -1
View File
@@ -231,7 +231,9 @@ void cpuDeepSleep(uint32_t msecToWake)
#if SOC_RTCIO_HOLD_SUPPORTED && SOC_PM_SUPPORT_EXT_WAKEUP
uint64_t gpioMask = (1ULL << (config.device.button_gpio ? config.device.button_gpio : BUTTON_PIN));
#endif
#ifdef ALT_BUTTON_WAKE
gpioMask |= (1ULL << BUTTON_PIN_ALT);
#endif
#ifdef BUTTON_NEED_PULLUP
gpio_pullup_en((gpio_num_t)BUTTON_PIN);
#endif