mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
TasmotaSlave: Add functionality
This commit is contained in:
parent
05ca072717
commit
ea5c8492a1
@ -583,8 +583,8 @@ bool Xdrv31(uint8_t function)
|
|||||||
if ((TSlave.type) && (TSlaveSettings.features.func_every_100_msecond)) {
|
if ((TSlave.type) && (TSlaveSettings.features.func_every_100_msecond)) {
|
||||||
if (TasmotaSlave_Serial->available()) {
|
if (TasmotaSlave_Serial->available()) {
|
||||||
TasmotaSlave_ProcessIn();
|
TasmotaSlave_ProcessIn();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case FUNC_EVERY_SECOND:
|
case FUNC_EVERY_SECOND:
|
||||||
if ((TSlave.type) && (TSlaveSettings.features.func_every_second)) {
|
if ((TSlave.type) && (TSlaveSettings.features.func_every_second)) {
|
||||||
@ -604,4 +604,4 @@ bool Xdrv31(uint8_t function)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // USE_TASMOTA_SLAVE
|
#endif // USE_TASMOTA_SLAVE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user