Skip to content

Commit

Permalink
debug update
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Oct 12, 2023
1 parent 2f1d488 commit b8afae2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/motor-control/core/tasks/motion_controller_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ class MotionControllerTask {
// also create top level query msg
void run_diag0_interrupt(void) {
if (!driver_error_handled()) {
sent = true;
// static_cast<void>(queue.try_write_isr(can::messages::MotorDriverErrorEncountered{.message_index = 0}));
static_cast<void>(queue.try_write_isr(can::messages::MotorDriverErrorEncountered{.message_index = 0}));
}
}

Expand All @@ -226,7 +225,6 @@ class MotionControllerTask {
private:
QueueType& queue;
std::atomic<bool> driver_error_handled_flag = false;
bool sent = false;
};

/**
Expand Down

0 comments on commit b8afae2

Please sign in to comment.