mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
parent
7c8b06ce16
commit
7784156376
@ -503,6 +503,7 @@ void CmndClientReset(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CmndClientSend(void) {
|
void CmndClientSend(void) {
|
||||||
|
if (TClient.SerialEnabled) {
|
||||||
if (0 < XdrvMailbox.data_len) {
|
if (0 < XdrvMailbox.data_len) {
|
||||||
TasmotaClient_sendCmnd(CMND_CLIENT_SEND, XdrvMailbox.data_len);
|
TasmotaClient_sendCmnd(CMND_CLIENT_SEND, XdrvMailbox.data_len);
|
||||||
TasmotaClient_Serial->write(char(PARAM_DATA_START));
|
TasmotaClient_Serial->write(char(PARAM_DATA_START));
|
||||||
@ -512,6 +513,7 @@ void CmndClientSend(void) {
|
|||||||
TasmotaClient_Serial->write(char(PARAM_DATA_END));
|
TasmotaClient_Serial->write(char(PARAM_DATA_END));
|
||||||
}
|
}
|
||||||
ResponseCmndDone();
|
ResponseCmndDone();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TasmotaClient_ProcessIn(void) {
|
void TasmotaClient_ProcessIn(void) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user