The T-Deck-Pro 4G version sets the modem to be disabled by default. (#7715)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Lewis He
2025-08-23 06:46:59 -05:00
committed by GitHub
co-authored by GitHub Ben Meadors
parent 8b42bf7a95
commit 5136c8ba24
2 changed files with 19 additions and 0 deletions
+10
View File
@@ -404,6 +404,16 @@ void setup()
initDeepSleep();
#if defined(MODEM_POWER_EN)
pinMode(MODEM_POWER_EN, OUTPUT);
digitalWrite(MODEM_POWER_EN, LOW);
#endif
#if defined(MODEM_PWRKEY)
pinMode(MODEM_PWRKEY, OUTPUT);
digitalWrite(MODEM_PWRKEY, LOW);
#endif
#if defined(LORA_TCXO_GPIO)
pinMode(LORA_TCXO_GPIO, OUTPUT);
digitalWrite(LORA_TCXO_GPIO, HIGH);