X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fteledongle-v3.0%2Fao_teledongle.c;h=69abea6edef1eb50d0aba8755c9c830e75c05ac6;hp=02b93efecd413fdca6ed773a85b96eb69f5a2810;hb=dbc52686c6d9808275c35e0c9c987cbbd9f7859d;hpb=bc41ab47b928b837724f8bc6b84d0b5b47c25df3 diff --git a/src/teledongle-v3.0/ao_teledongle.c b/src/teledongle-v3.0/ao_teledongle.c index 02b93efe..69abea6e 100644 --- a/src/teledongle-v3.0/ao_teledongle.c +++ b/src/teledongle-v3.0/ao_teledongle.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 @@ -30,8 +31,8 @@ main(void) #endif ao_task_init(); - ao_led_init(LEDS_AVAILABLE); - ao_led_on(AO_LED_RED); + ao_led_init(); + ao_led_on(LEDS_AVAILABLE); ao_timer_init(); ao_spi_init(); @@ -47,7 +48,7 @@ main(void) ao_config_init(); - ao_led_off(AO_LED_RED); + ao_led_off(LEDS_AVAILABLE); ao_start_scheduler(); return 0; }