altos: Use state transitions to directly drive igniters
authorKeith Packard <keithp@keithp.com>
Wed, 22 Jul 2020 15:57:05 +0000 (08:57 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 22 Jul 2020 15:57:05 +0000 (08:57 -0700)
commitd0c0dec140b8fa847704c9a22a39d254445188b9
treee8b7f3a7673edc552df3a329e34958281d4c151a
parent6ff8e55581ca85b9cc892806a2481d57a65e8bae
altos: Use state transitions to directly drive igniters

Instead of a separate igniter API, have the igniter code monitor
flight state changes to trigger igniter events. This simplifes the
code while allowing further changes in the igniter code.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao.h
src/kernel/ao_flight.c
src/kernel/ao_ignite.c