update HandleValveControl

This commit is contained in:
murmur 2024-12-31 00:04:05 +08:00
parent 7e47936f43
commit bbeab43bed

View File

@ -1439,6 +1439,8 @@ static uint8_t HandleValveControl(uint8_t *Buff, uint8_t len) {
return 1;
}
uint8_t rst = systemStatus.rst;
ValvePPInit(0);
ValvePPInit(1);
for(uint8_t index = 0; index < len/2; index++) {
if(memcmp(Buff+index*2, "\xFF\xFF", 2) == 0) {