update HandleValveControl
This commit is contained in:
parent
7e47936f43
commit
bbeab43bed
@ -1439,6 +1439,8 @@ static uint8_t HandleValveControl(uint8_t *Buff, uint8_t len) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
uint8_t rst = systemStatus.rst;
|
uint8_t rst = systemStatus.rst;
|
||||||
|
ValvePPInit(0);
|
||||||
|
ValvePPInit(1);
|
||||||
for(uint8_t index = 0; index < len/2; index++) {
|
for(uint8_t index = 0; index < len/2; index++) {
|
||||||
|
|
||||||
if(memcmp(Buff+index*2, "\xFF\xFF", 2) == 0) {
|
if(memcmp(Buff+index*2, "\xFF\xFF", 2) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user