forked from nuttx/nuttx-update
risc-v/espressif: Fix alert message in esp_setup_irq()
Correct the alert message in `esp_setup_irq()` if irq number allocation fails, the parameter number is not matched with format specifier. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
e3b3a6145a
commit
20cba94a86
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ int esp_setup_irq(int source, irq_priority_t priority, int type)
|
|||
if (cpuint < 0)
|
||||
{
|
||||
_alert("Unable to allocate CPU interrupt for source=%d\n",
|
||||
priority, type);
|
||||
source);
|
||||
|
||||
PANIC();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue