Commit 0b6e2a62 authored by Jaroslav Beran's avatar Jaroslav Beran Committed by Ille, Ondrej, Ing.
Browse files

driver: improve state description strings to better reflect enum can_state values

parent 110aa522
......@@ -45,12 +45,12 @@
#include "ctu_can_fd_regs.h"
static const char *ctucan_state_strings[] = {
"ERROR_ACTIVE",
"ERROR_WARNING",
"ERROR_PASSIVE",
"BUS_OFF",
"STOPPED",
"SLEEPING"
"CAN_STATE_ERROR_ACTIVE",
"CAN_STATE_ERROR_WARNING",
"CAN_STATE_ERROR_PASSIVE",
"CAN_STATE_BUS_OFF",
"CAN_STATE_STOPPED",
"CAN_STATE_SLEEPING"
};
/* TX buffer rotation:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment