diff options
| author | Keith Packard <keithp@keithp.com> | 2009-04-26 01:36:53 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-04-26 01:36:53 -0700 | 
| commit | 2e737ad00cad5d893b252d8aa9dbff3d9b800731 (patch) | |
| tree | b2405d63458476d7cd0ac10473f16a1463f278a5 /ao_monitor.c | |
| parent | 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a (diff) | |
Clean up monitor output a bit
Diffstat (limited to 'ao_monitor.c')
| -rw-r--r-- | ao_monitor.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ao_monitor.c b/ao_monitor.c index d62f69da..eee66fa2 100644 --- a/ao_monitor.c +++ b/ao_monitor.c @@ -40,14 +40,14 @@ ao_monitor(void)  		memcpy(callsign, recv.telemetry.callsign, AO_MAX_CALLSIGN);  		if (state > ao_flight_invalid)  			state = ao_flight_invalid; -		printf ("CALL %s SERIAL %3d RSSI %3d STATUS %02x STATE %s ", +		printf ("CALL %s SERIAL %3d RSSI %3d STATUS %02x STATE %7s ",  			callsign,  			recv.telemetry.addr,  			(int) recv.rssi - 74, recv.status,  			ao_state_names[state]);  		if (!(recv.status & PKT_APPEND_STATUS_1_CRC_OK))  			printf("CRC INVALID "); -		printf("%5u a: %d p: %d t: %d v: %d d: %d m: %d ", +		printf("%5u a: %5d p: %5d t: %5d v: %5d d: %5d m: %5d ",  		       recv.telemetry.adc.tick,  		       recv.telemetry.adc.accel,  		       recv.telemetry.adc.pres,  | 
