projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
52063c2
)
altos: Check for packet mode before trying to disable it in flight code
author
Keith Packard
<keithp@keithp.com>
Sat, 18 May 2013 09:54:55 +0000
(
02:54
-0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 18 May 2013 09:54:55 +0000
(
02:54
-0700)
This is only relevant for telemini
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_flight.c
patch
|
blob
|
history
diff --git
a/src/core/ao_flight.c
b/src/core/ao_flight.c
index 9d9d4c6e0b3ddea72a724b1b3eacee94dbb9f76c..782e22744c434dc28e9356d60708ef728f7e9380 100644
(file)
--- a/
src/core/ao_flight.c
+++ b/
src/core/ao_flight.c
@@
-124,7
+124,7
@@
ao_flight(void)
ao_usb_disable();
#endif
-#if !HAS_ACCEL
+#if !HAS_ACCEL
&& PACKET_HAS_SLAVE
/* Disable packet mode in pad state on TeleMini */
ao_packet_slave_stop();
#endif