riscv_exception.c: Add missing comma in exception reasons array

This commit is contained in:
Huang Qi 2024-06-28 22:24:19 +08:00 committed by Alan Carvalho de Assis
parent 28eaa08cbc
commit c66b0866e8

View File

@ -75,7 +75,7 @@ static const char *g_reasons_str[RISCV_MAX_EXCEPTION + 1] =
"Software check", "Software check",
#endif #endif
#if RISCV_MAX_EXCEPTION > 18 #if RISCV_MAX_EXCEPTION > 18
"Hardware error" "Hardware error",
#endif #endif
#ifdef RISCV_CUSTOM_EXCEPTION_REASONS #ifdef RISCV_CUSTOM_EXCEPTION_REASONS
RISCV_CUSTOM_EXCEPTION_REASONS RISCV_CUSTOM_EXCEPTION_REASONS