Dataman: Be less verbose on start to clutter shell output less

This commit is contained in:
Lorenz Meier 2017-01-01 13:57:45 +01:00
parent 037d91c51c
commit 78f00368c5
1 changed files with 2 additions and 2 deletions

View File

@ -1025,11 +1025,11 @@ task_main(int argc, char *argv[])
*/
g_on_disk = on_disk;
if (g_on_disk) {
if (g_on_disk && sys_restart_val != DM_INIT_REASON_POWER_ON) {
PX4_INFO("%s, data manager file '%s' size is %d bytes",
restart_type_str, k_data_manager_device_path, max_offset);
} else {
} else if (!g_on_disk) {
PX4_INFO("%s, data manager RAM size is %d bytes",
restart_type_str, max_offset);
}