diff options
author | Wolfgang Denk <wd@denx.de> | 2014-11-06 14:02:58 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-07 16:27:07 -0500 |
commit | b807288fdc50d756f0f6ca6aff12bade3dc3a7f9 (patch) | |
tree | a45a22736b706b4e5acc0adef2afb0007f3a8a52 | |
parent | 0060517ae087eed94c64c175e5042b16e0a415fa (diff) | |
download | u-boot-imx-b807288fdc50d756f0f6ca6aff12bade3dc3a7f9.zip u-boot-imx-b807288fdc50d756f0f6ca6aff12bade3dc3a7f9.tar.gz u-boot-imx-b807288fdc50d756f0f6ca6aff12bade3dc3a7f9.tar.bz2 |
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>
-rw-r--r-- | board/cogent/lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cogent/lcd.c b/board/cogent/lcd.c index 8e90f98..05ffc4d 100644 --- 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 } |