altos: Do not block igniters on the radio mutex.
authorKeith Packard <keithp@keithp.com>
Tue, 3 Jul 2012 06:44:10 +0000 (23:44 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jul 2012 06:45:43 +0000 (23:45 -0700)
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>
src/core/ao_ignite.c
src/telemetrum-v1.1/.sdcdbrc

index d4aef153a6e25cfecf246c8f63fe798508a5c773..e82de355abbaa6f7de57494ed0f7d0a622159b53 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
index 710b4a2f81a006199805bc2149605d33b66e0aee..fbe9a599d2221d052bd9d59ccb5fd87f900843d9 100644 (file)
@@ -1 +1 @@
---directory=..
+--directory=../cc1111:../product:../core:../drivers:.