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:
7207a95
)
altos: Remove pad_orientation functions from non-accel devices
author
Keith Packard
<keithp@keithp.com>
Mon, 8 Aug 2011 19:08:45 +0000
(12:08 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 8 Aug 2011 19:13:03 +0000
(12:13 -0700)
Anything without an accelerometer can't detect pad orientation.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_config.c
patch
|
blob
|
history
diff --git
a/src/ao_config.c
b/src/ao_config.c
index c4d808901a2a2b8638a8e7a3d10960a238656ce1..5e80d55d171a3cd58d4b7bf6b71a95efab4a0841 100644
(file)
--- a/
src/ao_config.c
+++ b/
src/ao_config.c
@@
-370,7
+370,7
@@
ao_config_ignite_mode_set(void) __reentrant
}
#endif
}
#endif
-#if HAS_
IGNITE
+#if HAS_
ACCEL
void
ao_config_pad_orientation_show(void) __reentrant
{
void
ao_config_pad_orientation_show(void) __reentrant
{