altos: Move MS5607 info from 'v' to 'c s'
authorKeith Packard <keithp@keithp.com>
Wed, 15 May 2013 05:29:06 +0000 (22:29 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 16 May 2013 05:13:08 +0000 (22:13 -0700)
Makes more sense there.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_cmd.c
src/core/ao_config.c

index 188b8bb4c693c71aa23dd75c74ed5f7a3fc59dfa..5113548bad81c70d7c41e382afd64838e04caca1 100644 (file)
@@ -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
index 73608a55c542923b9692458838f0e20f91106c3e..1a500c797bbf677eea781b32b1c35353cca3a952 100644 (file)
@@ -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