X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao.h;fp=ao.h;h=e9761c183029405525e4536e46c1b56240ff6e4c;hp=2cad7621c5e5db33d072954149ed05b66b441924;hb=45976af820fc41099928df71ea8304c56eb9fc7c;hpb=4a050704ad2c497e9f1b0988334228b0bbc4c170 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