summaryrefslogtreecommitdiff
path: root/shared/protocol.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-26 17:40:36 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-26 17:40:36 +0200
commit2a0270f3ba6eb993fb39ed3564f626d724156654 (patch)
treed8d310eb35768f84d25453eae4b8cd4721bd8ddf /shared/protocol.h
parent55fe6aaeee49894dc07516f0c4e21f692b2950fe (diff)
implement battery measurement and target area switching
Diffstat (limited to 'shared/protocol.h')
-rw-r--r--shared/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/protocol.h b/shared/protocol.h
index c13e56c..83d9111 100644
--- a/shared/protocol.h
+++ b/shared/protocol.h
@@ -155,6 +155,7 @@ typedef struct {
uint32_t uptime_s;
uint8_t mode;
uint16_t battery_mv;
+ uint8_t battery_percent;
} w2_s_cmd_info_tx;
typedef struct {