summaryrefslogtreecommitdiff
path: root/src/ao_flight.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-01 20:57:03 -0800
committerKeith Packard <keithp@keithp.com>2009-11-01 20:57:03 -0800
commitca5d323a3d206050d95f52a61e92c69e1f54e7b5 (patch)
treeee9bb6903039953d6f0d1a70a6d53bbdbac9ab58 /src/ao_flight.c
parent6c1a9ce16b966a21c885bf3be31cbcb85368b3fa (diff)
Enable packet-based communcation to command processor
This splits the packet code into master/slave halves and hooks the slave side up to the getchar/putchar/flush logic in ao_stdio.c Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_flight.c')
-rw-r--r--src/ao_flight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_flight.c b/src/ao_flight.c
index c43d0711..e91a5daa 100644
--- a/src/ao_flight.c
+++ b/src/ao_flight.c
@@ -235,9 +235,9 @@ ao_flight(void)
} else {
ao_flight_state = ao_flight_idle;
- /* Turn on the Green LED in idle mode
+ /* Turn on packet system in idle mode
*/
- ao_led_on(AO_LED_GREEN);
+ ao_packet_slave_start();
ao_wakeup(DATA_TO_XDATA(&ao_flight_state));
}
/* signal successful initialization by turning off the LED */