altos: Remove ao_led_toggle API from general code
[fw/altos] / src / lpc / ao_led_lpc.c
index 3a2d4c9886986b72889c50a07c0d13a0ba937cde..3747df973f2ec74f1f7f289dc2b82c1028304c01 100644 (file)
@@ -43,13 +43,7 @@ ao_led_set(AO_PORT_TYPE colors)
 }
 
 void
-ao_led_toggle(AO_PORT_TYPE colors)
-{
-       lpc_gpio.pin[LED_PORT] ^= colors;
-}
-
-void
-ao_led_for(AO_PORT_TYPE colors, uint16_t ticks) 
+ao_led_for(AO_PORT_TYPE colors, AO_TICK_TYPE ticks) 
 {
        ao_led_on(colors);
        ao_delay(ticks);