projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0060517
)
board/cogent/lcd.c: fix syntax error
author
Wolfgang Denk
<wd@denx.de>
Thu, 6 Nov 2014 13:02:58 +0000
(14:02 +0100)
committer
Tom Rini
<trini@ti.com>
Fri, 7 Nov 2014 21:27:07 +0000
(16:27 -0500)
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>
board/cogent/lcd.c
patch
|
blob
|
history
diff --git
a/board/cogent/lcd.c
b/board/cogent/lcd.c
index 8e90f9853a1a9ec903bc346a3ef3e77abd70df57..05ffc4d1ac385bd7443046f0bd2a52e88a669c47 100644
(file)
--- a/
board/cogent/lcd.c
+++ b/
board/cogent/lcd.c
@@
-234,7
+234,7
@@
lcd_heartbeat(void)
void board_show_activity (ulong timestamp)
{
#ifdef CONFIG_STATUS_LED
- if ((timestamp % (CONFIG_SYS_HZ / 2) == 0)
+ if ((timestamp % (CONFIG_SYS_HZ / 2)
)
== 0)
lcd_heartbeat ();
#endif
}