aboutsummaryrefslogtreecommitdiff
path: root/robot/setup.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-26 15:20:55 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-26 15:20:55 +0200
commit1913a240aab3a2ad72d477aa6fff840afdcad7a3 (patch)
treefb5e1493726ce6dddc3c812aa9730e4a856dabd3 /robot/setup.c
parent9c1f3dcc98b639e3bbcb6a8e199d8f1aa4bcc42a (diff)
implement mode history
Diffstat (limited to 'robot/setup.c')
-rw-r--r--robot/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/robot/setup.c b/robot/setup.c
index 1ecda43..06c8fa4 100644
--- a/robot/setup.c
+++ b/robot/setup.c
@@ -31,6 +31,9 @@ void w2_setup_main() {
// reset timer
time_reset();
+ // set default mode
+ w2_modes_swap(W2_M_HALT);
+
// indicate startup done
play("L50 c>c");
}