From 6fec7b5affd223c18bad78377d7655af958dffc2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 25 Feb 2019 16:40:16 -0700 Subject: altos: Fix several mis-specified time types Make sure AO_TICK_TYPE is used "everywhere", instead of uint16_t or other. Signed-off-by: Keith Packard --- src/attiny/ao_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/attiny') diff --git a/src/attiny/ao_clock.c b/src/attiny/ao_clock.c index d722d568..2ac0500b 100644 --- a/src/attiny/ao_clock.c +++ b/src/attiny/ao_clock.c @@ -28,7 +28,7 @@ ISR(TIMER1_COMPA_vect) ao_wakeup((void *) &ao_tick_count); } -uint16_t +AO_TICK_TYPE ao_time(void) { uint16_t r; -- cgit v1.2.3