From bbeab43bed0abb7d3ed06e7a91f4f7f921648921 Mon Sep 17 00:00:00 2001 From: murmur Date: Tue, 31 Dec 2024 00:04:05 +0800 Subject: [PATCH] update HandleValveControl --- protocol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol.c b/protocol.c index 94dd093..c8776fa 100644 --- a/protocol.c +++ b/protocol.c @@ -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) {