summaryrefslogtreecommitdiff
path: root/common/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/button.c')
-rw-r--r--common/button.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/button.c b/common/button.c
index 88cf9e69b6..cdc8eebbc7 100644
--- a/common/button.c
+++ b/common/button.c
@@ -471,11 +471,13 @@ static int debug_button_pressed(int mask)
return debug_button_mask() == mask;
}
+#ifdef CONFIG_LED_COMMON
static int debug_mode_blink_led(void)
{
return ((curr_debug_state != STATE_DEBUG_NONE) &&
(curr_debug_state != STATE_DEBUG_CHECK));
}
+#endif
static void debug_mode_transition(enum debug_state next_state)
{