summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-14 23:04:44 -0700
committerKeith Packard <keithp@keithp.com>2012-10-14 23:04:44 -0700
commit84c56b1e92fca181207c468ea6351db3c2f196fb (patch)
tree3b58cd46cbaf52235393ede9eb62ff0bb5381656 /src
parent91b8c8b20cead2836ec835f44b4ca0cf06cbf518 (diff)
altos/telefire: Report valid channels instead of valid pins
Now that pins don't match channels 1:1, make sure that the report back to the LCO names the channels instead of the pin numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/ao_pad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_pad.c b/src/drivers/ao_pad.c
index 36905136..6cec98ab 100644
--- a/src/drivers/ao_pad.c
+++ b/src/drivers/ao_pad.c
@@ -271,7 +271,7 @@ ao_pad(void)
query.tick = ao_time();
query.box = ao_pad_box;
- query.channels = AO_PAD_ALL_PINS;
+ query.channels = AO_PAD_ALL_CHANNELS;
query.armed = ao_pad_armed;
PRINTD ("query tick %d box %d channels %02x arm %d arm_status %d igniter %d,%d,%d,%d\n",
query.tick, query.box, query.channels, query.armed,