diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-29 10:47:16 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-29 10:47:16 +0200 |
commit | 516b08a12901faf65ae1af2d7bfd288f6d5d2ff5 (patch) | |
tree | e07ddecd3ee1658ff7b99bd40e1a3314260435bb /robot/modes.c | |
parent | 054cf1c2a433c87b7caee503c28db2b7005d1060 (diff) |
fix charging station wait until full
Diffstat (limited to 'robot/modes.c')
-rw-r--r-- | robot/modes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/robot/modes.c b/robot/modes.c index ea65e2d..80a0ee8 100644 --- a/robot/modes.c +++ b/robot/modes.c @@ -44,8 +44,6 @@ void w2_modes_switch(w2_e_mode new_mode, bool replace) { g_w2_mode_history[g_w2_mode_history_index] = new_mode; } - if (new_mode == W2_M_CHRG) w2_mode_chrg_onswitch(); - // forward mode change to sercomm W2_CREATE_MSG_BIN(w2_s_cmd_mode_tx, msg, msg_bin); msg->opcode = W2_CMD_MODE | W2_CMDDIR_TX; |