X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelebt-v3.0%2Fao_telebt.c;h=8775d99380312ea92e779bcfd61cbb15ff0c8613;hb=7e0857120b8633c22603a9f59c5519e5a92759e9;hp=44ee4f3dabe745369527fa3040b228369c21e382;hpb=be443d8d50ad8f59a74bf2f4e810a7359ff72132;p=fw%2Faltos diff --git a/src/telebt-v3.0/ao_telebt.c b/src/telebt-v3.0/ao_telebt.c index 44ee4f3d..8775d993 100644 --- a/src/telebt-v3.0/ao_telebt.c +++ b/src/telebt-v3.0/ao_telebt.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 @@ -21,6 +22,7 @@ #include #include #include +#include #if HAS_SAMPLE_PROFILE #include #endif @@ -31,9 +33,8 @@ main(void) ao_clock_init(); ao_task_init(); - ao_serial_init(); ao_led_init(LEDS_AVAILABLE); - ao_led_on(AO_LED_RED); + ao_led_on(LEDS_AVAILABLE); ao_timer_init(); ao_spi_init(); @@ -44,6 +45,8 @@ main(void) ao_btm_init(); ao_cmd_init(); + ao_lco_cmd_init(); + ao_eeprom_init(); ao_usb_init(); @@ -53,7 +56,7 @@ main(void) ao_config_init(); - ao_led_off(AO_LED_RED); + ao_led_off(LEDS_AVAILABLE); ao_start_scheduler(); return 0;