summaryrefslogtreecommitdiff
path: root/src/core/ao_led.h
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2012-08-28 23:39:53 -0600
committerBdale Garbee <bdale@gag.com>2012-08-28 23:39:53 -0600
commit5ed88fb72c3e3ecf3333c700d838667db71cfbdc (patch)
tree3b371f563c0f7607f2fe53242673adb352b48514 /src/core/ao_led.h
parentadbe64c5a9402b7c5075a444a12629131b663877 (diff)
parent621d0930244f25165d2ac5da596dcc87e253b965 (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Conflicts: debian/control
Diffstat (limited to 'src/core/ao_led.h')
-rw-r--r--src/core/ao_led.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ao_led.h b/src/core/ao_led.h
index edc5fd1f..d9a0914a 100644
--- a/src/core/ao_led.h
+++ b/src/core/ao_led.h
@@ -40,6 +40,10 @@ ao_led_off(AO_LED_TYPE colors);
void
ao_led_set(AO_LED_TYPE colors);
+/* Set all LEDs in 'mask' to the specified state */
+void
+ao_led_set_mask(uint8_t colors, uint8_t mask);
+
/* Toggle the specified LEDs */
void
ao_led_toggle(AO_LED_TYPE colors);