X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelefiretwo-v0.2%2Fao_telefiretwo.c;h=bdcf3213ddac77c861ef844ce7b9303158784947;hb=master;hp=38629d86d8775d520b8fa6847613cbed9dbbd927;hpb=14fecd672807982ce6232fa3b4bdce0aebe132e8;p=fw%2Faltos diff --git a/src/telefiretwo-v0.2/ao_telefiretwo.c b/src/telefiretwo-v0.2/ao_telefiretwo.c index 38629d86..bcfe5b3b 100644 --- a/src/telefiretwo-v0.2/ao_telefiretwo.c +++ b/src/telefiretwo-v0.2/ao_telefiretwo.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 @@ -19,13 +20,14 @@ #include #include #include +#include -void +int main(void) { ao_clock_init(); - ao_led_init(LEDS_AVAILABLE); + ao_led_init(); ao_task_init(); @@ -51,4 +53,5 @@ main(void) // ao_radio_cmac_cmd_init(); ao_start_scheduler(); + return 0; }