aboutsummaryrefslogtreecommitdiff
path: root/robot/hypervisor.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-26 16:27:48 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-26 16:27:48 +0200
commit55fe6aaeee49894dc07516f0c4e21f692b2950fe (patch)
treed6c709d5b8567381873fc38ecc7a599d3af6339d /robot/hypervisor.c
parent6b7b02596522b0db476dd64bb69e0e3825ce790d (diff)
remove some debug lines
Diffstat (limited to 'robot/hypervisor.c')
-rw-r--r--robot/hypervisor.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/robot/hypervisor.c b/robot/hypervisor.c
index 580ff55..471b2ac 100644
--- a/robot/hypervisor.c
+++ b/robot/hypervisor.c
@@ -14,7 +14,7 @@ unsigned long g_w2_hypervisor_ema_io_qs = 0;
unsigned long g_w2_hypervisor_ema_mode_qs = 0;
uint64_t g_w2_hypervisor_timers[W2_HYPERVISOR_TIMER_COUNT] = {0};
-uint64_t g_w2_hypervisor_qs_timer_offset = 0;
+uint64_t g_w2_hypervisor_qs_timer_offset = 0;
unsigned int g_w2_ping_ms = 0;
uint8_t g_w2_ping_id = 0;
@@ -66,9 +66,7 @@ uint64_t w2_get_qs() {
return ticks_to_microseconds(get_ticks()) - g_w2_hypervisor_qs_timer_offset;
}
-uint64_t w2_get_ms() {
- return w2_get_qs() / 1e3;
-}
+uint64_t w2_get_ms() { return w2_get_qs() / 1e3; }
void w2_time_reset() { g_w2_hypervisor_qs_timer_offset = ticks_to_microseconds(get_ticks()); }