summaryrefslogtreecommitdiff
path: root/src/common/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/led.c')
-rw-r--r--src/common/led.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/led.c b/src/common/led.c
index db674c4..19ba5a9 100644
--- a/src/common/led.c
+++ b/src/common/led.c
@@ -93,3 +93,9 @@ led_display (uint16_t leds, uint16_t duration)
}
}
+void
+led_no_pull_up (void)
+{
+ PORTB = (PORTB & ~LED_MASK) | IO_BV (BUTTON_IO);
+}
+