summaryrefslogtreecommitdiff
path: root/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-25 13:16:27 -0700
committerKeith Packard <keithp@keithp.com>2009-04-25 13:16:27 -0700
commit45976af820fc41099928df71ea8304c56eb9fc7c (patch)
tree9c69ee467ebdcd7b120c829244025a4e52b31785 /ao.h
parent4a050704ad2c497e9f1b0988334228b0bbc4c170 (diff)
Make LED usage depend on target device
Diffstat (limited to 'ao.h')
-rw-r--r--ao.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ao.h b/ao.h
index 2cad7621..e9761c18 100644
--- a/ao.h
+++ b/ao.h
@@ -241,13 +241,17 @@ ao_led_off(uint8_t colors);
void
ao_led_set(uint8_t colors);
+/* Toggle the specified LEDs */
+void
+ao_led_toggle(uint8_t colors);
+
/* Turn on the specified LEDs for the indicated interval */
void
ao_led_for(uint8_t colors, uint16_t ticks) __reentrant;
/* Initialize the LEDs */
void
-ao_led_init(void);
+ao_led_init(uint8_t enable);
/*
* ao_usb.c
@@ -729,7 +733,7 @@ void
ao_monitor(void);
void
-ao_monitor_init(void);
+ao_monitor_init(uint8_t led);
/*
* ao_stdio.c