summaryrefslogtreecommitdiff
path: root/board/altera/dk1c20
diff options
context:
space:
mode:
Diffstat (limited to 'board/altera/dk1c20')
-rw-r--r--board/altera/dk1c20/dk1c20.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/altera/dk1c20/dk1c20.c b/board/altera/dk1c20/dk1c20.c
index 3954486..fd85706 100644
--- a/board/altera/dk1c20/dk1c20.c
+++ b/board/altera/dk1c20/dk1c20.c
@@ -33,8 +33,10 @@ void _default_hdlr (void)
int board_early_init_f (void)
{
+#if defined(CONFIG_SEVENSEG)
/* init seven segment led display and switch off */
sevenseg_set(SEVENSEG_OFF);
+#endif
return 0;
}