mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-07 14:03:52 +01:00
ADC_CTRL_PIN fix
Some checks failed
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Has been cancelled
Some checks failed
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Has been cancelled
This commit is contained in:
parent
c33720a5fb
commit
b448e2fc6b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue