altos: struct ao_log_mega doesn't have a ground temp value
[fw/altos] / src / core / ao_ignite.c
index d4aef153a6e25cfecf246c8f63fe798508a5c773..c7829fc3b543334f19c99db52985dae0f7e39b8c 100644 (file)
@@ -81,9 +81,6 @@ ao_igniter_status(enum ao_igniter igniter)
 void
 ao_igniter_fire(enum ao_igniter igniter) __critical
 {
-#ifndef MEGAMETRUM
-       ao_mutex_get(&ao_radio_mutex);
-#endif
        ao_ignition[igniter].firing = 1;
        switch(ao_config.ignite_mode) {
        case AO_IGNITE_MODE_DUAL:
@@ -128,9 +125,6 @@ ao_igniter_fire(enum ao_igniter igniter) __critical
                break;
        }
        ao_ignition[igniter].firing = 0;
-#ifndef MEGAMETRUM
-       ao_mutex_put(&ao_radio_mutex);
-#endif
 }
 
 void
@@ -201,8 +195,8 @@ __xdata struct ao_task ao_igniter_task;
 void
 ao_ignite_set_pins(void)
 {
-       ao_enable_output(AO_IGNITER_DROGUE_PORT, AO_IGNITER_DROGUE_PIN, 0);
-       ao_enable_output(AO_IGNITER_MAIN_PORT, AO_IGNITER_MAIN_PIN, 0);
+       ao_enable_output(AO_IGNITER_DROGUE_PORT, AO_IGNITER_DROGUE_PIN, AO_IGNITER_DROGUE, 0);
+       ao_enable_output(AO_IGNITER_MAIN_PORT, AO_IGNITER_MAIN_PIN, AO_IGNITER_MAIN, 0);
 }
 
 void