Blocking igniters on the radio mutex fails when doing igniter testing
over the RF link; the packet receiver task will never release the
mutex and the CPU at the same time, causing the system to lock up.
Signed-off-by: Keith Packard <keithp@keithp.com>
void
ao_igniter_fire(enum ao_igniter igniter) __critical
{
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:
ao_ignition[igniter].firing = 1;
switch(ao_config.ignite_mode) {
case AO_IGNITE_MODE_DUAL:
break;
}
ao_ignition[igniter].firing = 0;
break;
}
ao_ignition[igniter].firing = 0;
-#ifndef MEGAMETRUM
- ao_mutex_put(&ao_radio_mutex);
-#endif
+--directory=../cc1111:../product:../core:../drivers:.