justo antes de fallar

This commit is contained in:
richonguzman 2024-05-23 20:13:05 -04:00
parent 345a6c2c21
commit fc8d3fd9fb
10 changed files with 57 additions and 38 deletions

View file

@ -128,8 +128,8 @@ namespace POWER_Utils {
pinMode(INTERNAL_LED_PIN, OUTPUT);
#endif
if (Config.externalVoltageMeasurement) {
pinMode(Config.externalVoltagePin, INPUT);
if (Config.battery.externalVoltageMeasurement) {
pinMode(Config.battery.externalVoltagePin, INPUT);
}
#ifdef VEXT_CTRL