From: Wolfgang Denk Date: Thu, 6 Nov 2014 13:02:58 +0000 (+0100) Subject: board/cogent/lcd.c: fix syntax error X-Git-Tag: v2015.01-rc1~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b807288fdc50d756f0f6ca6aff12bade3dc3a7f9;p=oweals%2Fu-boot.git 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 --- diff --git a/board/cogent/lcd.c b/board/cogent/lcd.c index 8e90f9853a..05ffc4d1ac 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 }