Fix volt pin

This commit is contained in:
Magnus Persson 2022-11-10 19:44:24 +01:00
parent d4ea1c9f98
commit 8ca51a2888

View File

@ -272,7 +272,7 @@ void printTimestamp(Print* _logOutput, int _logLevel) {
BatteryVoltage::BatteryVoltage() {
#if defined(ESP8266)
pinMode(PIN_A0, INPUT);
pinMode(PIN_VOLT, INPUT);
#else
pinMode(PIN_VOLT, INPUT_PULLDOWN);
#endif