altos: Use pyro voltage to check igniters ignite-volts
authorKeith Packard <keithp@keithp.com>
Sat, 22 Jul 2023 07:01:03 +0000 (00:01 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 22 Jul 2023 07:01:03 +0000 (00:01 -0700)
commit342bd580ac9f7e5ddd585c795c3aca44f7cde51d
treecdd6a8b0ec2476279271bc22c816d08be1b281b3
parent92bbfacb64568b3b6d132ba23e17dc57da582626
altos: Use pyro voltage to check igniters

Instead of using an absolute value for the igniter continuity good
voltage, use 15/16 of the pyro voltage instead. This ensures we scale
with the pyro voltage to find marginal igniters even with high voltage
pyro systems.

This doesn't work on TeleMetrum where we have no pyro voltage
value. On these boards, continue to use a fixed 3.5V value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao.h
src/kernel/ao_config.h
src/kernel/ao_ignite.c
src/kernel/ao_pyro.c
src/kernel/ao_pyro.h
src/telelcotwo-v0.1/ao_telelcotwo.c