diff options
| author | Keith Packard <keithp@keithp.com> | 2009-04-25 13:16:27 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-04-25 13:16:27 -0700 | 
| commit | 45976af820fc41099928df71ea8304c56eb9fc7c (patch) | |
| tree | 9c69ee467ebdcd7b120c829244025a4e52b31785 /ao.h | |
| parent | 4a050704ad2c497e9f1b0988334228b0bbc4c170 (diff) | |
Make LED usage depend on target device
Diffstat (limited to 'ao.h')
| -rw-r--r-- | ao.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| @@ -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 | 
