Browse Source

[DM/PIC] Fixup the interrput info list format

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 2 weeks ago
parent
commit
01e4caf60c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/pic/pic.c

+ 1 - 1
components/drivers/pic/pic.c

@@ -1281,7 +1281,7 @@ static int list_irq(int argc, char**argv)
             #ifdef RT_USING_SMP
                 rt_kputs(cpumask);
             #endif
-                rt_kprintf("%-10d ", repeat_isr->action.counter);
+                rt_kprintf(" %-10d ", repeat_isr->action.counter);
                 rt_kprintf("%-*.s", 10, repeat_isr->action.name);
             #ifdef RT_USING_SMP
                 for (int cpuid = 0; cpuid < RT_CPUS_NR; cpuid++)