diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-06-05 20:03:02 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-06-05 20:03:02 -0400 |
commit | c6473f4e7fe0ab0c8e855c2e64b222e62fb2c7d9 (patch) | |
tree | 95fb36470a89772dece495dad244cbdead1d65f4 | |
parent | c96d728d8148a06a311dc56845a8e16108bdd847 (diff) | |
download | rockbox-c6473f4e7fe0ab0c8e855c2e64b222e62fb2c7d9.tar.gz rockbox-c6473f4e7fe0ab0c8e855c2e64b222e62fb2c7d9.zip |
[Fix Yellow] imx233_debug fix yellow
Change-Id: I2d04340a8383edd03350045085188d2191e41526
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index 5d759e40aa..3e9e936c20 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include "timrot-imx233.h" | 42 | #include "timrot-imx233.h" |
43 | #include "string.h" | 43 | #include "string.h" |
44 | #include "stdio.h" | 44 | #include "stdio.h" |
45 | #include "strlcat.h" | ||
45 | #include "button.h" | 46 | #include "button.h" |
46 | #include "button-imx233.h" | 47 | #include "button-imx233.h" |
47 | #include "sdmmc-imx233.h" | 48 | #include "sdmmc-imx233.h" |
@@ -1202,9 +1203,9 @@ bool dbg_hw_info_button(void) | |||
1202 | } | 1203 | } |
1203 | flags[0] = 0; | 1204 | flags[0] = 0; |
1204 | if(MAP[i].flags & IMX233_BUTTON_INVERTED) | 1205 | if(MAP[i].flags & IMX233_BUTTON_INVERTED) |
1205 | strcat(flags, " inv"); | 1206 | strlcat(flags, " inv", sizeof(flags)); |
1206 | if(MAP[i].flags & IMX233_BUTTON_PULLUP) | 1207 | if(MAP[i].flags & IMX233_BUTTON_PULLUP) |
1207 | strcat(flags, " pull"); | 1208 | strlcat(flags, " pull", sizeof(flags)); |
1208 | #if LCD_WIDTH <= LCD_HEIGHT | 1209 | #if LCD_WIDTH <= LCD_HEIGHT |
1209 | lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val, | 1210 | lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val, |
1210 | MAP[i].rounds, MAP[i].threshold, raw, type); | 1211 | MAP[i].rounds, MAP[i].threshold, raw, type); |