extern deviceStatus

This commit is contained in:
murmur 2024-12-19 22:53:56 +08:00
parent f18bded566
commit e4ee1c0eec
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#include "protocol.h"
#include <string.h>
static DeviceStatus deviceStatus = {
DeviceStatus deviceStatus = {
.deviceStatus = 1,
.valves = {210, 120},
.pumps = {0, 0, 50, 50},

View File

@ -406,6 +406,7 @@ typedef struct {
extern DeviceParam dp;
extern DeviceStatus deviceStatus;
// 函数声明
CmdFrameError_t ProcessHostCommand(uint8_t *rxBuf, uint8_t rxLen);