ADC_CTRL_PIN fix
Some checks failed
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Has been cancelled

This commit is contained in:
Ricardo Guzman (Richonguzman) 2026-03-05 10:06:22 -03:00
parent c33720a5fb
commit b448e2fc6b
4 changed files with 7 additions and 7 deletions

View file

@ -34,7 +34,7 @@ namespace POWER_Utils {
void vext_ctrl_OFF();
#endif
#ifdef ADC_CTRL
#ifdef ADC_CTRL_PIN
void adc_ctrl_ON();
void adc_ctrl_OFF();
#endif

View file

@ -67,8 +67,8 @@ ___________________________________________________________________*/
#endif
String versionDate = "2026-03-04";
String versionNumber = "3.2.1";
String versionDate = "2026-03-05";
String versionNumber = "3.2.2";
Configuration Config;
WiFiClient aprsIsClient;
WiFiClient mqttClient;

View file

@ -154,7 +154,7 @@ namespace BATTERY_Utils {
}
#else
#ifdef ADC_CTRL
#ifdef ADC_CTRL_PIN
POWER_Utils::adc_ctrl_ON();
#endif
@ -180,7 +180,7 @@ namespace BATTERY_Utils {
delay(3);
}
#ifdef ADC_CTRL
#ifdef ADC_CTRL_PIN
POWER_Utils::adc_ctrl_OFF();
#ifdef HELTEC_WP_V1

View file

@ -272,8 +272,8 @@ namespace POWER_Utils {
if (Config.beacon.gpsActive && Config.digi.ecoMode != 1) activateGPS();
#endif
#ifdef ADC_CTRL
pinMode(ADC_CTRL, OUTPUT);
#ifdef ADC_CTRL_PIN
pinMode(ADC_CTRL_PIN, OUTPUT);
adc_ctrl_OFF();
#endif