mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
i2cdriverstate in status only when use_i2c (#18067)
This commit is contained in:
parent
a97f0349d8
commit
635afa36de
@ -794,8 +794,10 @@ void CmndStatus(void)
|
||||
XsnsDriverState();
|
||||
ResponseAppend_P(PSTR(",\"Sensors\":"));
|
||||
XsnsSensorState(0);
|
||||
#ifdef USE_I2C
|
||||
ResponseAppend_P(PSTR(",\"" D_CMND_I2CDRIVER "\":"));
|
||||
I2cDriverState();
|
||||
#endif
|
||||
ResponseJsonEndEnd();
|
||||
CmndStatusResponse(4);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user