extern deviceStatus
This commit is contained in:
parent
f18bded566
commit
e4ee1c0eec
@ -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},
|
||||
|
@ -406,6 +406,7 @@ typedef struct {
|
||||
|
||||
|
||||
extern DeviceParam dp;
|
||||
extern DeviceStatus deviceStatus;
|
||||
|
||||
// 函数声明
|
||||
CmdFrameError_t ProcessHostCommand(uint8_t *rxBuf, uint8_t rxLen);
|
||||
|
Loading…
Reference in New Issue
Block a user