X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fattiny%2Fao_clock.c;h=2ac0500b217f307466fd8be143eae566969eac89;hp=22de8e99352d5041b09bd50af63376e2329ff563;hb=0448b9b638f8599633227a639ef9d8572780bbd9;hpb=fcdaa0d748058a7f52a1bdc1a1627dc394762e5a diff --git a/src/attiny/ao_clock.c b/src/attiny/ao_clock.c index 22de8e99..2ac0500b 100644 --- a/src/attiny/ao_clock.c +++ b/src/attiny/ao_clock.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -27,7 +28,7 @@ ISR(TIMER1_COMPA_vect) ao_wakeup((void *) &ao_tick_count); } -uint16_t +AO_TICK_TYPE ao_time(void) { uint16_t r;