mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
board/cogent/lcd.c: fix syntax error
Fix error detected by cppcheck: [board/cogent/lcd.c:237]: (error) Invalid number of character (() when these macros are defined: 'CONFIG_SHOW_ACTIVITY;CONFIG_STATUS_LED'. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
0060517ae0
commit
b807288fdc
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ lcd_heartbeat(void)
|
||||||
void board_show_activity (ulong timestamp)
|
void board_show_activity (ulong timestamp)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_STATUS_LED
|
#ifdef CONFIG_STATUS_LED
|
||||||
if ((timestamp % (CONFIG_SYS_HZ / 2) == 0)
|
if ((timestamp % (CONFIG_SYS_HZ / 2)) == 0)
|
||||||
lcd_heartbeat ();
|
lcd_heartbeat ();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue