We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aff053 commit 563c250Copy full SHA for 563c250
1 file changed
Core/Src/u_statemachine.c
@@ -50,6 +50,7 @@ void send_carstate_msg(void)
50
51
int init_statemachine(void) {
52
PRINTLN_INFO("Ran init_statemachine().");
53
+ cerberus_state.nero.home_mode = true;
54
return U_SUCCESS;
55
}
56
@@ -125,9 +126,9 @@ static int transition_functional_state(func_state_t new_state)
125
126
127
128
/* Only turn on motor if brakes engaged and shutdown is closed */
- // if (!brake_state || !is_shutdown_closed()) {
129
- // return 3;
130
- // }
+ if (!brake_state || !is_shutdown_closed()) {
+ return 3;
131
+ }
132
#endif
133
134
if (is_shutdown_closed()) {
0 commit comments