From: Keith Packard Date: Wed, 15 May 2013 05:29:06 +0000 (-0700) Subject: altos: Move MS5607 info from 'v' to 'c s' X-Git-Tag: 1.2.9.4~198 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=1931e028bebc3cd8df9392e30eb0e888d0799768 altos: Move MS5607 info from 'v' to 'c s' Makes more sense there. Signed-off-by: Keith Packard --- diff --git a/src/core/ao_cmd.c b/src/core/ao_cmd.c index 188b8bb4..5113548b 100644 --- a/src/core/ao_cmd.c +++ b/src/core/ao_cmd.c @@ -290,9 +290,6 @@ version(void) , ao_log_format #endif ); -#if HAS_MS5607 - ao_ms5607_info(); -#endif printf("software-version %s\n", ao_version); } #endif diff --git a/src/core/ao_config.c b/src/core/ao_config.c index 73608a55..1a500c79 100644 --- a/src/core/ao_config.c +++ b/src/core/ao_config.c @@ -693,6 +693,9 @@ ao_config_show(void) __reentrant for (cmd = 0; ao_config_vars[cmd].str != NULL; cmd++) if (ao_config_vars[cmd].show) (*ao_config_vars[cmd].show)(); +#if HAS_MS5607 + ao_ms5607_info(); +#endif } #if HAS_EEPROM