diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-08 12:08:45 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-08 12:13:03 -0700 |
commit | e1e5c9b3e24670e9f58c6f7389eafb3338efdb40 (patch) | |
tree | 2b3cac9560e44b2d23ca5fda238791d0280a92ca /src | |
parent | 7207a95823dc2a27906759528dd88256cb20679f (diff) |
altos: Remove pad_orientation functions from non-accel devices
Anything without an accelerometer can't detect pad orientation.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ao_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_config.c b/src/ao_config.c index c4d80890..5e80d55d 100644 --- a/src/ao_config.c +++ b/src/ao_config.c @@ -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 { |