mirror of https://github.com/arendst/Tasmota.git
commit
d985088bf3
|
@ -580,10 +580,13 @@ bool Xdrv31(uint8_t function)
|
|||
|
||||
switch (function) {
|
||||
case FUNC_EVERY_100_MSECOND:
|
||||
if ((TSlave.type) && (TSlaveSettings.features.func_every_100_msecond)) {
|
||||
if (TSlave.type) {
|
||||
if (TasmotaSlave_Serial->available()) {
|
||||
TasmotaSlave_ProcessIn();
|
||||
}
|
||||
if (TSlaveSettings.features.func_every_100_msecond) {
|
||||
TasmotaSlave_sendCmnd(CMND_FUNC_EVERY_100_MSECOND, 0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case FUNC_EVERY_SECOND:
|
||||
|
|
Loading…
Reference in New Issue