Skip to content

Commit

Permalink
better definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed May 2, 2024
1 parent 611ea87 commit db24293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/power_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit db24293

Please sign in to comment.