X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao_led.h;h=b770381f7efb8aea3dcb379a5cb0981800788328;hb=HEAD;hp=5d982ca6d1f0e7101467d072ce215678e8ae8793;hpb=2cdb1f30c49ba460b0850d23ba9c85e0336af290;p=fw%2Faltos diff --git a/src/kernel/ao_led.h b/src/kernel/ao_led.h index 5d982ca6..60c2d41f 100644 --- a/src/kernel/ao_led.h +++ b/src/kernel/ao_led.h @@ -43,15 +43,11 @@ 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); +ao_led_set_mask(AO_LED_TYPE colors, AO_LED_TYPE mask); /* Turn on the specified LEDs for the indicated interval */ void -ao_led_for(AO_LED_TYPE colors, uint16_t ticks); +ao_led_for(AO_LED_TYPE colors, AO_TICK_TYPE ticks); /* Initialize the LEDs */ void