summaryrefslogtreecommitdiff
path: root/src/core/ao_pyro.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-27 23:23:59 -0700
committerKeith Packard <keithp@keithp.com>2013-10-27 23:25:31 -0700
commit58f08c4b3cb9049d0c9cb02cde0d8dbdc3d33920 (patch)
tree8aaf05f114d06dc56c12dbefffad531302487cff /src/core/ao_pyro.c
parentc10cb9d31765e6ef0ba737bc484c5aed22a332f9 (diff)
altos: Rename ao_orient to ao_sample_orient
Keeps it clear where this name comes from. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_pyro.c')
-rw-r--r--src/core/ao_pyro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_pyro.c b/src/core/ao_pyro.c
index 24c9fe99..a260aa99 100644
--- a/src/core/ao_pyro.c
+++ b/src/core/ao_pyro.c
@@ -115,11 +115,11 @@ ao_pyro_ready(struct ao_pyro *pyro)
#if HAS_GYRO
case ao_pyro_orient_less:
- if (ao_orient <= pyro->orient_less)
+ if (ao_sample_orient <= pyro->orient_less)
continue;
break;
case ao_pyro_orient_greater:
- if (ao_orient >= pyro->orient_greater)
+ if (ao_sample_orient >= pyro->orient_greater)
continue;
break;
#endif