feed watchdog on enter closed loop

This commit is contained in:
Oskar Weigl
2020-01-30 16:16:39 -08:00
parent 50d06576b7
commit 8cbc09e168
+1
View File
@@ -419,6 +419,7 @@ void Axis::run_state_machine_loop() {
goto invalid_state_label;
if (!encoder_.is_ready_)
goto invalid_state_label;
watchdog_feed();
status = run_closed_loop_control_loop();
} break;