Browse Source

smale changes

pull/1155/head
DanielR92 2 years ago
parent
commit
d55dd81291
  1. 2
      src/platformio.ini
  2. 6
      src/web/html/setup.html

2
src/platformio.ini

@ -137,6 +137,8 @@ build_flags = ${env.build_flags}
-DDEF_CMT_CSB=4 -DDEF_CMT_CSB=4
-DDEF_CMT_FCSB=21 -DDEF_CMT_FCSB=21
-DDEF_CMT_IRQ=8 -DDEF_CMT_IRQ=8
-DDEF_CMT_SDIO=5
-DDEF_CMT_SCLK=6
-DDEF_LED0=18 -DDEF_LED0=18
-DDEF_LED1=17 -DDEF_LED1=17
-DLED_ACTIVE_HIGH -DLED_ACTIVE_HIGH

6
src/web/html/setup.html

@ -328,7 +328,7 @@
</div> </div>
<div class="row mb-3"> <div class="row mb-3">
<div class="col-12 col-sm-3 my-2">Shelly EM3 IP: </div> <div class="col-12 col-sm-3 my-2">Monitor IP: </div>
<div class="col-12 col-sm-9"><input type="text" name="monitor_ipAddr" maxlength="15"></div> <div class="col-12 col-sm-9"><input type="text" name="monitor_ipAddr" maxlength="15"></div>
<div class="col-12 col-sm-3 my-2">Prio Inverter</div> <div class="col-12 col-sm-3 my-2">Prio Inverter</div>
<div class="col-12 col-sm-9"><select name="iv" id="Inv_ID"></select></div> <div class="col-12 col-sm-9"><select name="iv" id="Inv_ID"></select></div>
@ -998,11 +998,11 @@
parseSun(root["sun"]); parseSun(root["sun"]);
parsePinout(root["pinout"], root["system"]["esp_type"], root["system"]); parsePinout(root["pinout"], root["system"]["esp_type"], root["system"]);
parseNrfRadio(root["radioNrf"], root["pinout"], root["system"]["esp_type"], root["system"]); parseNrfRadio(root["radioNrf"], root["pinout"], root["system"]["esp_type"], root["system"]);
/*IF_ESP32*/ /*IF_ESP32*/
parseCmtRadio(root["radioCmt"], root["system"]["esp_type"], root["system"]); parseCmtRadio(root["radioCmt"], root["system"]["esp_type"], root["system"]);
/*ENDIF_ESP32*/ /*ENDIF_ESP32*/
if(root["generic"]["esp_type"] == "ESP32") if(root["generic"]["esp_type"] == "ESP32")
parsezeroExport(root["zeroExport"], root["system"]["esp_type"]); parsezeroExport(root["zeroExport"], root["system"]["esp_type"]);

Loading…
Cancel
Save