aboutsummaryrefslogtreecommitdiff
path: root/robot/modes.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-08 15:47:43 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-08 15:47:43 +0200
commit31fe6a4c0b2a00f7b7f81055fe5dfb3fc37326be (patch)
tree5cf8bf0c346f14c779cac314f80169b1122aee72 /robot/modes.c
parentf062bfb8e88c0e62edd830bfbcaee14f1688c510 (diff)
parent74e7db1f43d5511da291050f2ddd5d701bb04258 (diff)
merge pull request from @nonailla
Diffstat (limited to 'robot/modes.c')
-rw-r--r--robot/modes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/robot/modes.c b/robot/modes.c
index 4995d6f..aedc02a 100644
--- a/robot/modes.c
+++ b/robot/modes.c
@@ -16,6 +16,7 @@ w2_e_mode g_w2_mode_history[W2_MODE_HISTORY_BUFFER_SIZE];
uint8_t g_w2_mode_history_index = 0;
void (*g_w2_modes[W2_MODE_COUNT])();
+//all of the different modi
void w2_modes_init() {
g_w2_modes[W2_M_CHRG] = &w2_mode_chrg;
g_w2_modes[W2_M_DIRC] = &w2_mode_dirc;