mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 14:57:16 +00:00
Fix scripter compilation error
This commit is contained in:
parent
e1620d62b0
commit
e0933e5de0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user