Add error message for CAN Write Overrun (#2062)

This commit is contained in:
Thad House
2019-11-08 22:51:11 -08:00
committed by Peter Johnson
parent 00228678d4
commit 326aecc9a0
3 changed files with 8 additions and 0 deletions

View File

@@ -213,6 +213,8 @@ const char* HAL_GetErrorMessage(int32_t code) {
return ERR_FRCSystem_NetCommNotResponding_MESSAGE;
case ERR_FRCSystem_NoDSConnection:
return ERR_FRCSystem_NoDSConnection_MESSAGE;
case HAL_CAN_BUFFER_OVERRUN:
return HAL_CAN_BUFFER_OVERRUN_MESSAGE;
default:
return "Unknown error status";
}