Skip to content

Commit

Permalink
change severity to is_fault
Browse files Browse the repository at this point in the history
  • Loading branch information
fregely committed Feb 2, 2025
1 parent 6e83054 commit a1b7f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core/Src/can_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void can1_callback(CAN_HandleTypeDef *hcan)
{
fault_data_t fault_data = {
.id = CAN_ROUTING_FAULT,
// .severity = DEFCON2,
.is_fault = true,
};

CAN_RxHeaderTypeDef rx_header;
Expand Down
2 changes: 1 addition & 1 deletion Core/Src/pedals.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void pedal_fault_cb(void *arg)
{
fault_data_t fault_data = {
.id = ONBOARD_PEDAL_FAULT,
// .severity = DEFCON1
.is_fault = true
};
fault_data.diag = (char *)arg;
queue_fault(&fault_data);
Expand Down

0 comments on commit a1b7f13

Please sign in to comment.