summaryrefslogtreecommitdiff
path: root/src/easymega-v1.0/ao_easymega.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-25 23:25:43 -0800
committerKeith Packard <keithp@keithp.com>2015-12-25 23:30:33 -0800
commitaffad27df6c2f38f0398175d96c073a85039ebe5 (patch)
tree758561619425ee2c06c9bc9433c2fbf72b815791 /src/easymega-v1.0/ao_easymega.c
parent0fd370af8bc8842000415c4d182d84b4bf6f90fa (diff)
altos: Hacks to test PWM output on EasyMegaeasymega-pwm-hacks
This uses the companion port chip select pins, which happen to be connected to tim4. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/easymega-v1.0/ao_easymega.c')
-rw-r--r--src/easymega-v1.0/ao_easymega.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/easymega-v1.0/ao_easymega.c b/src/easymega-v1.0/ao_easymega.c
index e217c33c..db3a58b0 100644
--- a/src/easymega-v1.0/ao_easymega.c
+++ b/src/easymega-v1.0/ao_easymega.c
@@ -24,6 +24,7 @@
#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
@@ -79,7 +80,8 @@ main(void)
ao_usb_init();
ao_igniter_init();
- ao_companion_init();
+// ao_companion_init();
+ ao_pwm_init();
ao_pyro_init();
ao_config_init();