mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Fix scripter compilation error
This commit is contained in:
parent
e1620d62b0
commit
e0933e5de0
@ -1796,7 +1796,7 @@ chknext:
|
|||||||
#else
|
#else
|
||||||
// ESP8266
|
// ESP8266
|
||||||
#ifndef USE_ADC_VCC
|
#ifndef USE_ADC_VCC
|
||||||
fvar = AdcRead(fvar);
|
fvar = AdcRead(17, fvar);
|
||||||
#else
|
#else
|
||||||
fvar = (float)ESP.getVcc() / 1000.0;
|
fvar = (float)ESP.getVcc() / 1000.0;
|
||||||
#endif // USE_ADC_VCC
|
#endif // USE_ADC_VCC
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#ifdef USE_ADC
|
#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
|
#define XSNS_02 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user