diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-30 13:31:47 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-30 13:31:47 +0200 |
commit | b728a15887fa28cdd98d74017c4882d632d6e069 (patch) | |
tree | 97df03d5b78ab4b48e72f69f75f3cc4307f6a373 /robot/sercomm.c | |
parent | 03862852b128748358dcb39ce50600eef0ba1a71 (diff) |
status bar almost done
Diffstat (limited to 'robot/sercomm.c')
-rw-r--r-- | robot/sercomm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/robot/sercomm.c b/robot/sercomm.c index 2317d89..deef39f 100644 --- a/robot/sercomm.c +++ b/robot/sercomm.c @@ -135,6 +135,7 @@ void w2_cmd_info_rx(w2_s_bin *data) { res_msg->sercomm_ms = (uint8_t)g_w2_hypervisor_ema_sercomm_ms; res_msg->mode_ms = (uint8_t)g_w2_hypervisor_ema_mode_ms; res_msg->uptime_s = w2_bin_hton32((uint32_t)(g_w2_hypervisor_uptime_ms / 1e3)); + res_msg->mode = g_w2_mode_history[g_w2_mode_history_index]; w2_sercomm_append_msg(res_bin); free(res_bin); |