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

This commit is contained in:
Ricardo Guzman (Richonguzman) 2026-03-04 12:24:16 -03:00
parent e57fad6666
commit c33720a5fb
3 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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

View file

@ -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();