Skip to content

Commit

Permalink
change for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Nov 8, 2023
1 parent 38bd2b8 commit 9267d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/motor-control/core/tasks/motion_controller_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class MotionControllerMessageHandler {
}

void handle(const can::messages::MotorDriverErrorEncountered& m) {
if (!driver_error_handled()) {
// if (!driver_error_handled()) {
controller.stop(can::ids::ErrorSeverity::unrecoverable,
can::ids::ErrorCode::motor_driver_error_detected);
if (!controller.is_timer_interrupt_running()) {
Expand All @@ -177,7 +177,7 @@ class MotionControllerMessageHandler {
can::messages::ReadMotorDriverErrorStatus{
.message_index = m.message_index});
}
}
// }
}

void handle(const can::messages::ResetMotorDriverErrorHandling& m) {
Expand Down

0 comments on commit 9267d1c

Please sign in to comment.