diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-02 19:14:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-02 19:14:08 +0200 |
commit | 595763efb64ee861f3ccf458ff35992b94f2fa3a (patch) | |
tree | 428ae0f7b474b8cb644fadcb4491ed7d8e4baffa /robot/hypervisor.c | |
parent | 14779cb187dac9ed4a0b6e7645e76e78587ad024 (diff) |
[WIP] stop on connection lost in dirc
Diffstat (limited to 'robot/hypervisor.c')
-rw-r--r-- | robot/hypervisor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/robot/hypervisor.c b/robot/hypervisor.c index 478d3a5..efdceec 100644 --- a/robot/hypervisor.c +++ b/robot/hypervisor.c @@ -14,6 +14,12 @@ unsigned long g_w2_hypervisor_ema_io_ms = 0; unsigned long g_w2_hypervisor_ema_mode_ms = 0; uint64_t g_w2_hypervisor_timers[W2_HYPERVISOR_TIMER_COUNT] = {0}; +unsigned int g_w2_ping_ms = 0; +uint8_t g_w2_ping_id = 0; +bool g_w2_ping_received = true; +bool g_w2_ping_timeout = false; +bool g_w2_connected = false; + void w2_hypervisor_main() { #ifdef W2_SIM w2_sim_cycle_begin(); |