mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
TasmotaSlave: Bugfix
This commit is contained in:
parent
57e62b1e68
commit
f9cb2b14a0
@ -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…
x
Reference in New Issue
Block a user