altos: Make extra pyro channel firing time configurable
[fw/altos] / src / kernel / ao_pyro.c
index 0ee7fbee711feb45edde9a681897acf44271a4ad..85d88d98962006c5f78425d5ab8a0334f8faad19 100644 (file)
@@ -213,7 +213,7 @@ ao_pyro_pins_fire(uint16_t fire)
                if (fire & (1 << p))
                        ao_pyro_pin_set(p, 1);
        }
-       ao_delay(AO_MS_TO_TICKS(50));
+       ao_delay(ao_config.pyro_time);
        for (p = 0; p < AO_PYRO_NUM; p++) {
                if (fire & (1 << p)) {
                        ao_pyro_pin_set(p, 0);