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:
@@ -226,7 +226,7 @@ public:
|
||||
}
|
||||
|
||||
void appendConfigData() {
|
||||
oappend(SET_F("addHB('")); oappend(SET_F(_name)); oappend("');");
|
||||
oappend(SET_F("addHB('")); oappend(_name); oappend("');");
|
||||
// WLEDMM this usermod can ONLY use HW_I2C - so always use globals
|
||||
//oappend(SET_F("addInfo('BH1750:pin[]',0,'','I2C SCL');"));
|
||||
//oappend(SET_F("rOption('BH1750:pin[]',0,'use global (")); oappendi(i2c_scl); oappend(")',-1);");
|
||||
|
||||
Reference in New Issue
Block a user