X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelelcotwo-v0.1%2Fao_telelcotwo.c;h=c8f30b894ff49ac218e471218143699c15db8e68;hb=c8a0811abf59fb55cb17d2159289621d26e887ad;hp=318875e3c3bbdebf0295fc39672ee7113952a2b7;hpb=11f8ab90d2267715010e652d709beec363f74ed5;p=fw%2Faltos diff --git a/src/telelcotwo-v0.1/ao_telelcotwo.c b/src/telelcotwo-v0.1/ao_telelcotwo.c index 318875e3..c8f30b89 100644 --- a/src/telelcotwo-v0.1/ao_telelcotwo.c +++ b/src/telelcotwo-v0.1/ao_telelcotwo.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 @@ -20,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -33,8 +33,8 @@ main(void) { ao_clock_init(); - ao_led_init(LEDS_AVAILABLE); - ao_led_on(AO_LED_GREEN); + ao_led_init(); + ao_led_on(LEDS_AVAILABLE); ao_beep_init(); ao_task_init(); @@ -60,6 +60,8 @@ main(void) ao_lco_cmd_init(); // ao_radio_cmac_cmd_init(); + ao_led_off(LEDS_AVAILABLE); + ao_start_scheduler(); return 0; }