]> git.gag.com Git - fw/altos/blobdiff - src/easymega-v1.0/ao_easymega.c
altos: Hacks to test PWM output on EasyMega
[fw/altos] / src / easymega-v1.0 / ao_easymega.c
index 5cef758a5842108a2f741cd20a6b3c4ff63cb2f5..db3a58b04a86edb1ef2ef517d44d5a8b9eb68394 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2011 Keith Packard <keithp@keithp.com>
+ * Copyright © 2014 Bdale Garbee <bdale@gag.com>
  *
  * 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
 #include <ao_mma655x.h>
 #include <ao_log.h>
 #include <ao_exti.h>
-#include <ao_packet.h>
 #include <ao_companion.h>
 #include <ao_profile.h>
 #include <ao_eeprom.h>
+#include <ao_pwm.h>
 #if HAS_SAMPLE_PROFILE
 #include <ao_sample_profile.h>
 #endif
@@ -37,7 +37,7 @@ int
 main(void)
 {
        ao_clock_init();
-
+       
 #if HAS_STACK_GUARD
        ao_mpu_init();
 #endif
@@ -73,14 +73,15 @@ main(void)
 
        ao_eeprom_init();
        ao_storage_init();
-
+       
        ao_flight_init();
        ao_log_init();
        ao_report_init();
 
        ao_usb_init();
        ao_igniter_init();
-       ao_companion_init();
+//     ao_companion_init();
+       ao_pwm_init();
        ao_pyro_init();
 
        ao_config_init();
@@ -90,7 +91,7 @@ main(void)
 #if HAS_SAMPLE_PROFILE
        ao_sample_profile_init();
 #endif
-
+       
        ao_start_scheduler();
        return 0;
 }