diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-26 17:40:36 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-26 17:40:36 +0200 |
commit | 2a0270f3ba6eb993fb39ed3564f626d724156654 (patch) | |
tree | d8d310eb35768f84d25453eae4b8cd4721bd8ddf /robot/hypervisor.h | |
parent | 55fe6aaeee49894dc07516f0c4e21f692b2950fe (diff) |
implement battery measurement and target area switching
Diffstat (limited to 'robot/hypervisor.h')
-rw-r--r-- | robot/hypervisor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/hypervisor.h b/robot/hypervisor.h index ba58977..ad7d493 100644 --- a/robot/hypervisor.h +++ b/robot/hypervisor.h @@ -8,10 +8,11 @@ #include "../shared/protocol.h" /** amount of parallel timers */ -#define W2_HYPERVISOR_TIMER_COUNT 2 +#define W2_HYPERVISOR_TIMER_COUNT 3 #define W2_TIMER_PING 0 #define W2_TIMER_OBJECT_DETECTION 1 +#define W2_TIMER_BATTERY_MEASUREMENT 2 extern uint64_t g_w2_hypervisor_cycles; extern uint64_t g_w2_hypervisor_uptime_qs; |