diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-01 20:57:03 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-01 20:57:03 -0800 |
commit | ca5d323a3d206050d95f52a61e92c69e1f54e7b5 (patch) | |
tree | ee9bb6903039953d6f0d1a70a6d53bbdbac9ab58 /src/ao_flight.c | |
parent | 6c1a9ce16b966a21c885bf3be31cbcb85368b3fa (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.c | 4 |
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 */ |