X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelebt-v3.0%2Fao_telebt.c;h=63633c90ceea197c44bef6d1bf078f1d67f28319;hb=04560a7cd6a64e742954a2d0fbd7563e2c310402;hp=1fe06b1ac42137beca30107ff12f4ef943ba156c;hpb=c816bea3536d025568dab313d7c8944a56ba0801;p=fw%2Faltos diff --git a/src/telebt-v3.0/ao_telebt.c b/src/telebt-v3.0/ao_telebt.c index 1fe06b1a..63633c90 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,8 @@ #include #include #include +#include +#include #if HAS_SAMPLE_PROFILE #include #endif @@ -32,7 +35,7 @@ main(void) ao_task_init(); ao_led_init(LEDS_AVAILABLE); - ao_led_on(AO_LED_RED); + ao_led_on(LEDS_AVAILABLE); ao_timer_init(); ao_spi_init(); @@ -43,16 +46,19 @@ main(void) ao_btm_init(); ao_cmd_init(); + ao_lco_cmd_init(); + ao_eeprom_init(); ao_usb_init(); ao_radio_init(); ao_packet_master_init(); ao_monitor_init(); + ao_send_packet_init(); ao_config_init(); - ao_led_off(AO_LED_RED); + ao_led_off(LEDS_AVAILABLE); ao_start_scheduler(); return 0;