blob: cd8134873f7dc6233dba57e53edd363e55eb3e19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "../shared/protocol.h"
typedef struct {
unsigned int ping;
uint8_t ping_id;
bool ping_received;
bool ping_timeout;
bool connected;
uint8_t battery_level;
uint8_t mode;
uint8_t map_width;
uint8_t map_height;
w2_s_cmd_info_tx info;
w2_s_cmd_sens_tx io;
} w2_s_client_state;
extern w2_s_client_state g_w2_state;
|