Was missing v_batt in adc dump command 0.1
authorKeith Packard <keithp@keithp.com>
Sun, 26 Apr 2009 23:04:07 +0000 (16:04 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 26 Apr 2009 23:04:07 +0000 (16:04 -0700)
ao_adc.c

index 639c5f6..bef6bb7 100644 (file)
--- a/ao_adc.c
+++ b/ao_adc.c
@@ -67,7 +67,7 @@ ao_adc_dump(void)
        ao_adc_get(&packet);
        printf("tick: %5u accel: %4d pres: %4d temp: %4d batt: %4d drogue: %4d main: %4d\n",
               packet.tick, packet.accel >> 4, packet.pres >> 4, packet.temp >> 4,
-              packet.sense_d >> 4, packet.sense_m >> 4);
+              packet.v_batt >> 4, packet.sense_d >> 4, packet.sense_m >> 4);
 }
 
 __code struct ao_cmds ao_adc_cmds[] = {