altos: Remove pad_orientation functions from non-accel devices
authorKeith Packard <keithp@keithp.com>
Mon, 8 Aug 2011 19:08:45 +0000 (12:08 -0700)
committerKeith 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

index c4d808901a2a2b8638a8e7a3d10960a238656ce1..5e80d55d171a3cd58d4b7bf6b71a95efab4a0841 100644 (file)
@@ -370,7 +370,7 @@ ao_config_ignite_mode_set(void) __reentrant
 }
 #endif
 
-#if HAS_IGNITE
+#if HAS_ACCEL
 void
 ao_config_pad_orientation_show(void) __reentrant
 {