Update support_command.ino

This commit is contained in:
Theo Arends 2019-11-03 17:57:22 +01:00
parent 1e29593469
commit 8ba8f406f6
1 changed files with 1 additions and 1 deletions

View File

@ -1543,9 +1543,9 @@ void CmndI2cDriver(void)
if (XdrvMailbox.index < MAX_I2C_DRIVERS) { if (XdrvMailbox.index < MAX_I2C_DRIVERS) {
if (XdrvMailbox.payload >= 0) { if (XdrvMailbox.payload >= 0) {
bitWrite(Settings.i2c_drivers[XdrvMailbox.index / 32], XdrvMailbox.index % 32, XdrvMailbox.payload &1); bitWrite(Settings.i2c_drivers[XdrvMailbox.index / 32], XdrvMailbox.index % 32, XdrvMailbox.payload &1);
}
restart_flag = 2; restart_flag = 2;
} }
}
Response_P(PSTR("{\"" D_CMND_I2CDRIVER "\":")); Response_P(PSTR("{\"" D_CMND_I2CDRIVER "\":"));
XI2cDriverState(); XI2cDriverState();
ResponseJsonEnd(); ResponseJsonEnd();