Hardware pin defaults in i2c and spi pin dropdowns
bugfix: replace oappend(SET_F(name)); by oappend(_name); const.h: remove unset of 8266 variables as no behind the scene actions, this is just bad behavior and the pin drop downs will show this bad behavior xml.cpp: show hardware defaults as ⍼ in dropdowns (better icon needed)
This commit is contained in:
@@ -414,7 +414,7 @@ public:
|
||||
|
||||
void appendConfigData()
|
||||
{
|
||||
oappend(SET_F("addHB('")); oappend(SET_F(_name)); oappend("');");
|
||||
oappend(SET_F("addHB('")); oappend(_name); oappend("');");
|
||||
|
||||
oappend(SET_F("addInfo('PIRsensorSwitch:HA-discovery',1,'HA=Home Assistant');")); // 0 is field type, 1 is actual field
|
||||
oappend(SET_F("addInfo('PIRsensorSwitch:notifications',1,'Periodic WS updates');")); // 0 is field type, 1 is actual field
|
||||
|
||||
Reference in New Issue
Block a user