summaryrefslogtreecommitdiff
path: root/src/ao_flight.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-06-04 17:59:48 -0700
committerKeith Packard <keithp@keithp.com>2011-06-04 17:59:48 -0700
commitebf6e54d59dc06d974d3928691246e3213534d7e (patch)
tree322080e3d29b3ecaf177af4c9097b39c3b531eef /src/ao_flight.c
parente0ebdb4468db84a8e7f83043103e4b3bac928b74 (diff)
src-avr: Add LCD driver for NHD-C0216CU-FN-GWB-3V display
Initializes the Newhaven display and has a few simple commands to show some text. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_flight.c')
-rw-r--r--src/ao_flight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_flight.c b/src/ao_flight.c
index 822a20b8..234e7255 100644
--- a/src/ao_flight.c
+++ b/src/ao_flight.c
@@ -102,7 +102,7 @@ ao_flight(void)
{
/* Set pad mode - we can fly! */
ao_flight_state = ao_flight_pad;
-#if HAS_USB
+#if HAS_USB && !HAS_USB_TEST
/* Disable the USB controller in flight mode
* to save power
*/