Skip to content

Commit 65e34a5

Browse files
committed
fix
1 parent 099858c commit 65e34a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Src/u_statemachine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static int transition_functional_state(func_state_t new_state)
106106

107107
if (pedals_getAccelState()) {
108108
PRINTLN_WARNING("Accelerator should not be pressed when entering a state");
109-
return;
109+
return 3;
110110
}
111111

112112
/* Make sure wheels are not spinning before changing modes */

0 commit comments

Comments
 (0)