diff options
| author | Keith Packard <keithp@keithp.com> | 2012-08-29 11:22:02 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-08-29 11:22:02 -0700 | 
| commit | 1b6ed262460ee75fb5bb684d13d19c26c7ea750b (patch) | |
| tree | a686351b0aa7907edf5db3be7f579051168ab9e4 /src/drivers/ao_pad.c | |
| parent | 442f1bfc89528103e2c28f768c954b956e39afc5 (diff) | |
altos: fix ao_pad debug output for query command
Igniter status is an array these days.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_pad.c')
| -rw-r--r-- | src/drivers/ao_pad.c | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/src/drivers/ao_pad.c b/src/drivers/ao_pad.c index 94dc5787..cd901aa3 100644 --- a/src/drivers/ao_pad.c +++ b/src/drivers/ao_pad.c @@ -207,9 +207,13 @@ ao_pad(void)  			query.box = ao_pad_box;  			query.channels = AO_PAD_ALL_PINS;  			query.armed = ao_pad_armed; -			PRINTD ("query tick %d box %d channels %02x arm %d arm_status %d igniter %d\n", +			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, -				query.arm_status, query.igniter_status); +				query.arm_status, +				query.igniter_status[0], +				query.igniter_status[1], +				query.igniter_status[2], +				query.igniter_status[3]);  			ao_radio_cmac_send(&query, sizeof (query));  			break;  		case AO_LAUNCH_FIRE: | 
