mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
[Fix Yellow] imx233_debug fix yellow
Change-Id: I2d04340a8383edd03350045085188d2191e41526
This commit is contained in:
parent
c96d728d81
commit
c6473f4e7f
1 changed files with 3 additions and 2 deletions
|
|
@ -42,6 +42,7 @@
|
||||||
#include "timrot-imx233.h"
|
#include "timrot-imx233.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
|
#include "strlcat.h"
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include "button-imx233.h"
|
#include "button-imx233.h"
|
||||||
#include "sdmmc-imx233.h"
|
#include "sdmmc-imx233.h"
|
||||||
|
|
@ -1202,9 +1203,9 @@ bool dbg_hw_info_button(void)
|
||||||
}
|
}
|
||||||
flags[0] = 0;
|
flags[0] = 0;
|
||||||
if(MAP[i].flags & IMX233_BUTTON_INVERTED)
|
if(MAP[i].flags & IMX233_BUTTON_INVERTED)
|
||||||
strcat(flags, " inv");
|
strlcat(flags, " inv", sizeof(flags));
|
||||||
if(MAP[i].flags & IMX233_BUTTON_PULLUP)
|
if(MAP[i].flags & IMX233_BUTTON_PULLUP)
|
||||||
strcat(flags, " pull");
|
strlcat(flags, " pull", sizeof(flags));
|
||||||
#if LCD_WIDTH <= LCD_HEIGHT
|
#if LCD_WIDTH <= LCD_HEIGHT
|
||||||
lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val,
|
lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val,
|
||||||
MAP[i].rounds, MAP[i].threshold, raw, type);
|
MAP[i].rounds, MAP[i].threshold, raw, type);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue