diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index e33f2ab1ad..808716916c 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c | |||
@@ -631,13 +631,17 @@ bool dbg_hw_info_icoll(void) | |||
631 | } | 631 | } |
632 | 632 | ||
633 | lcd_clear_display(); | 633 | lcd_clear_display(); |
634 | for(int i = first_irq, j = 0; i < dbg_irqs_count && j < line_count; i++, j++) | 634 | int line = 0; |
635 | for(int i = first_irq; i < dbg_irqs_count && line < line_count; i++) | ||
635 | { | 636 | { |
636 | struct imx233_icoll_irq_info_t info = imx233_icoll_get_irq_info(dbg_irqs[i].src); | 637 | struct imx233_icoll_irq_info_t info = imx233_icoll_get_irq_info(dbg_irqs[i].src); |
637 | static char prio[4] = {'-', '+', '^', '!'}; | 638 | static char prio[4] = {'-', '+', '^', '!'}; |
638 | lcd_putsf(0, j, "%c%s", prio[info.priority & 3], dbg_irqs[i].name); | ||
639 | if(info.enabled || info.freq > 0) | 639 | if(info.enabled || info.freq > 0) |
640 | lcd_putsf(11, j, "%d %d %d", info.freq, info.max_time, info.total_time); | 640 | { |
641 | lcd_putsf(0, line, "%c%s", prio[info.priority & 3], dbg_irqs[i].name); | ||
642 | lcd_putsf(11, line, "%d %d %d", info.freq, info.max_time, info.total_time); | ||
643 | line++; | ||
644 | } | ||
641 | } | 645 | } |
642 | lcd_update(); | 646 | lcd_update(); |
643 | yield(); | 647 | yield(); |