X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fproduct%2Fao_teledongle.c;h=9e0d7662b21d41c56651a73935e7cd3d40903e1e;hp=49b805003bd162d8856bf6904695c22870b27840;hb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;hpb=5972c642f0de0789e90268bfa19ef8b51c06eebc diff --git a/src/product/ao_teledongle.c b/src/product/ao_teledongle.c index 49b80500..9e0d7662 100644 --- a/src/product/ao_teledongle.c +++ b/src/product/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 @@ -16,6 +17,7 @@ */ #include "ao.h" +#include void main(void) @@ -25,6 +27,8 @@ main(void) /* Turn on the LED until the system is stable */ ao_led_init(LEDS_AVAILABLE); ao_led_on(AO_LED_RED); + ao_task_init(); + ao_timer_init(); ao_cmd_init(); ao_usb_init(); @@ -32,11 +36,10 @@ main(void) ao_rssi_init(AO_LED_RED); ao_radio_init(); ao_packet_master_init(); + ao_send_packet_init(); #if HAS_DBG ao_dbg_init(); #endif - ao_aes_init(); - ao_radio_cmac_init(); ao_config_init(); ao_start_scheduler(); }