summaryrefslogtreecommitdiff
path: root/src-avr/ao_cmd.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-13 18:27:02 -0700
committerKeith Packard <keithp@keithp.com>2011-08-13 18:27:02 -0700
commit0beebf5b8659014c5e8ba194e42e5dcd9be1a2a6 (patch)
tree55288ec5f4b2243c12769f8266166e876132d50e /src-avr/ao_cmd.c
parent28a6127668a333f5d6a6234e2ee4527267c459d2 (diff)
altos-avr: Include serial/flight in companion commands
This lets TeleScience log these values so the log can be matched with a suitable TeleMetrum log. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao_cmd.c')
-rw-r--r--src-avr/ao_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-avr/ao_cmd.c b/src-avr/ao_cmd.c
index c36b9d94..16a05472 100644
--- a/src-avr/ao_cmd.c
+++ b/src-avr/ao_cmd.c
@@ -217,12 +217,13 @@ ao_reboot(void)
ao_panic(AO_PANIC_REBOOT);
}
+
static void
version(void)
{
printf("manufacturer %s\n", ao_manufacturer);
printf("product %s\n", ao_product);
-// printf("serial-number %u\n", ao_romconfig.serial_number);
+ printf("serial-number %u\n", ao_serial_number);
#if HAS_LOG
printf("log-format %u\n", ao_log_format);
#endif