X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_led.c;h=683d4aff7ea894ccb0ad1589f3df24332aa8a2c3;hb=14f1e175af85c0ef4539316d5ce049798a878fcb;hp=b32034e7d3f2f0903a03751e7c8210ffc17462ef;hpb=a6baf04bae3fe6a6b3da2f456419732ffeb4d056;p=fw%2Faltos diff --git a/src/drivers/ao_led.c b/src/drivers/ao_led.c index b32034e7..683d4aff 100644 --- a/src/drivers/ao_led.c +++ b/src/drivers/ao_led.c @@ -19,8 +19,8 @@ #include "ao.h" static const struct { - void *port; - uint16_t pin; + ao_gpio_t port; + uint8_t pin; } ao_leds[] = { #ifdef LED_0_PORT [0] { LED_0_PORT, LED_0_PIN },