altosui: Add config and pyro tabs to graph widget
[fw/altos] / src / telefiretwo-v0.2 / ao_telefiretwo.c
index 38629d86d8775d520b8fa6847613cbed9dbbd927..bcfe5b3b3dd2988488a302189693f7545b0c96c0 100644 (file)
@@ -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
 #include <ao_pad.h>
 #include <ao_exti.h>
 #include <ao_radio_cmac_cmd.h>
+#include <ao_led.h>
 
-void
+int
 main(void)
 {
        ao_clock_init();
 
-       ao_led_init(LEDS_AVAILABLE);
+       ao_led_init();
 
        ao_task_init();
 
@@ -51,4 +53,5 @@ main(void)
 //     ao_radio_cmac_cmd_init();
 
        ao_start_scheduler();
+       return 0;
 }