mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-16 10:14:46 +01:00
VEXT_CTRL_PIN definition missing fix
Some checks are pending
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Waiting to run
Some checks are pending
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Waiting to run
This commit is contained in:
parent
e57fad6666
commit
c33720a5fb
|
|
@ -67,8 +67,8 @@ ___________________________________________________________________*/
|
|||
#endif
|
||||
|
||||
|
||||
String versionDate = "2026-02-26";
|
||||
String versionNumber = "3.2";
|
||||
String versionDate = "2026-03-04";
|
||||
String versionNumber = "3.2.1";
|
||||
Configuration Config;
|
||||
WiFiClient aprsIsClient;
|
||||
WiFiClient mqttClient;
|
||||
|
|
|
|||
|
|
@ -263,8 +263,8 @@ namespace POWER_Utils {
|
|||
pinMode(Config.battery.externalVoltagePin, INPUT);
|
||||
}
|
||||
|
||||
#ifdef VEXT_CTRL
|
||||
pinMode(VEXT_CTRL,OUTPUT); // GPS + TFT on HELTEC Wireless_Tracker and only for Oled in HELTEC V3
|
||||
#ifdef VEXT_CTRL_PIN
|
||||
pinMode(VEXT_CTRL_PIN,OUTPUT); // GPS + TFT on HELTEC Wireless_Tracker and only for Oled in HELTEC V3
|
||||
vext_ctrl_ON();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -408,9 +408,9 @@ namespace Utils {
|
|||
if (mode == 1) { // low voltage detected after a while
|
||||
displayToggle(false);
|
||||
}
|
||||
#ifdef VEXT_CTRL
|
||||
#ifdef VEXT_CTRL_PIN
|
||||
#ifndef HELTEC_WSL_V3
|
||||
digitalWrite(VEXT_CTRL, LOW);
|
||||
digitalWrite(VEXT_CTRL_PIN, LOW);
|
||||
#endif
|
||||
#endif
|
||||
LoRa_Utils::sleepRadio();
|
||||
|
|
|
|||
Loading…
Reference in a new issue