summaryrefslogtreecommitdiff
path: root/board/fads/lamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/fads/lamp.c')
-rw-r--r--board/fads/lamp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/fads/lamp.c b/board/fads/lamp.c
index b121477..4e58291 100644
--- a/board/fads/lamp.c
+++ b/board/fads/lamp.c
@@ -1,4 +1,7 @@
#include <config.h>
+
+#ifndef CONFIG_ADS /* Old ADS has not got any user-controllable LED */
+
#include <common.h>
void
@@ -40,3 +43,5 @@ fast_blink(unsigned int n)
signal_delay(0x00100000);
}
}
+
+#endif /* !CONFIG_ADS */