更新deviceStatus

This commit is contained in:
CSSC-WORK\murmur 2024-12-26 22:28:06 +08:00
parent 0f523732b4
commit 17876bcdfd
2 changed files with 8 additions and 8 deletions

View File

@ -183,14 +183,14 @@ static void handle_status_request(uint8_t sn)
"\"initStatus\":%d" "\"initStatus\":%d"
"}", "}",
deviceStatus.sensorStatus, deviceStatus.sensorStatus,
deviceStatus.valves.angle1, deviceStatus.valves.angle[0],
deviceStatus.valves.angle2, deviceStatus.valves.angle[1],
deviceStatus.pumps.status1, deviceStatus.pumps.status[0],
deviceStatus.pumps.status2, deviceStatus.pumps.status[1],
deviceStatus.pumps.speed1, deviceStatus.pumps.speed[0],
deviceStatus.pumps.speed2, deviceStatus.pumps.speed[1],
deviceStatus.bubbleStatus, deviceStatus.bubbleStatus,
deviceStatus.stopStatus, deviceStatus.estopStatus,
deviceStatus.errorCode, deviceStatus.errorCode,
deviceStatus.initStatus deviceStatus.initStatus
); );

@ -1 +1 @@
Subproject commit 93c676e1cbaa7e278f9ed81646067c4fda37e5a1 Subproject commit 13781723e047b8df30eb4f459fd304ef21f042b2