Fix scripter compilation error

This commit is contained in:
Theo Arends 2020-10-02 14:24:23 +02:00
parent e1620d62b0
commit e0933e5de0
2 changed files with 2 additions and 2 deletions

View File

@ -1796,7 +1796,7 @@ chknext:
#else
// ESP8266
#ifndef USE_ADC_VCC
fvar = AdcRead(fvar);
fvar = AdcRead(17, fvar);
#else
fvar = (float)ESP.getVcc() / 1000.0;
#endif // USE_ADC_VCC

View File

@ -19,7 +19,7 @@
#ifdef USE_ADC
/*********************************************************************************************\
* ADC support for up to 8 channels on GPIO32 to GPIO39
* ADC support for ESP8266 GPIO17 (=PIN_A0) and ESP32 up to 8 channels on GPIO32 to GPIO39
\*********************************************************************************************/
#define XSNS_02 2