From: Keith Packard Date: Sun, 17 Jun 2018 19:29:36 +0000 (-0700) Subject: altos/ao_pad: Use AO_LED_TYPE for computing active LEDs. X-Git-Tag: 1.8.6~1^2~22 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=731ba39a22719a8c431eb63895cd8ba553975114 altos/ao_pad: Use AO_LED_TYPE for computing active LEDs. instead of uint8_t Signed-off-by: Keith Packard --- diff --git a/src/drivers/ao_pad.c b/src/drivers/ao_pad.c index ed749d1c..499b5238 100644 --- a/src/drivers/ao_pad.c +++ b/src/drivers/ao_pad.c @@ -189,7 +189,7 @@ ao_pad_monitor(void) { uint8_t c; uint8_t sample; - __pdata uint8_t prev = 0, cur = 0; + __pdata AO_LED_TYPE prev = 0, cur = 0; __pdata uint8_t beeping = 0; __xdata volatile struct ao_data *packet; __pdata uint16_t arm_beep_time = 0;