better definitions

This commit is contained in:
richonguzman 2024-05-02 15:31:31 -04:00
parent 611ea87264
commit db24293b91

View file

@ -137,12 +137,12 @@ namespace POWER_Utils {
pinMode(Config.externalVoltagePin, INPUT);
}
#if defined(VEXT_CTRL)
#ifdef VEXT_CTRL
pinMode(VEXT_CTRL,OUTPUT); // this is for GPS and TFT screen on Wireless_Tracker and only for Oled in Heltec V3
digitalWrite(VEXT_CTRL, HIGH);
#endif
#if defined(ADC_CTRL)
#ifdef ADC_CTRL
pinMode(ADC_CTRL, OUTPUT);
#endif
delay(1000);