If you're in idle mode, you stop forever as the packet mode receiver
will own the radio mutex forever.
Signed-off-by: Keith Packard <keithp@keithp.com>
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:
break;
}
ao_ignition[igniter].firing = 0;
+#ifndef MEGAMETRUM
ao_mutex_put(&ao_radio_mutex);
+#endif
}
void