mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
Fixed variable naming bug in FEATURE_ADC_VCC
This commit is contained in:
+1
-1
@@ -312,7 +312,7 @@ void ReplaceTokenByValue(String& s, struct EventStruct *event)
|
||||
s.replace(F("%systime%"), getTimeString(':'));
|
||||
|
||||
#if FEATURE_ADC_VCC
|
||||
newString.replace(F("%vcc%"), String(vcc));
|
||||
s.replace(F("%vcc%"), String(vcc));
|
||||
#endif
|
||||
|
||||
// IPAddress ip = WiFi.localIP();
|
||||
|
||||
@@ -12,3 +12,9 @@ FLASHCMD2="esptool.py --port $SERIAL2 -b 1500000 write_flash 0x0 .pioenvs/dev_4
|
||||
BUILDCMD2="platformio run --environment dev_4096"
|
||||
|
||||
|
||||
TYPE3="esp-12-f"
|
||||
SERIAL3=/dev/serial/by-path/pci-0000:00:14.0-usb-0:3.4.2:1.0-port0
|
||||
IP3=192.168.13.93
|
||||
FLASHCMD3="esptool.py --port $SERIAL3 -b 1500000 write_flash 0x0 .pioenvs/dev_4096/firmware.bin --flash_size=32m -p"
|
||||
BUILDCMD3="platformio run --environment dev_4096"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user