mirror of https://github.com/arendst/Tasmota.git
Update support_command.ino
This commit is contained in:
parent
1e29593469
commit
8ba8f406f6
|
@ -1543,9 +1543,9 @@ void CmndI2cDriver(void)
|
|||
if (XdrvMailbox.index < MAX_I2C_DRIVERS) {
|
||||
if (XdrvMailbox.payload >= 0) {
|
||||
bitWrite(Settings.i2c_drivers[XdrvMailbox.index / 32], XdrvMailbox.index % 32, XdrvMailbox.payload &1);
|
||||
}
|
||||
restart_flag = 2;
|
||||
}
|
||||
}
|
||||
Response_P(PSTR("{\"" D_CMND_I2CDRIVER "\":"));
|
||||
XI2cDriverState();
|
||||
ResponseJsonEnd();
|
||||
|
|
Loading…
Reference in New Issue