logger: add data format version tag

This commit is contained in:
Beat Küng 2020-04-07 08:35:22 +02:00 committed by Daniel Agar
parent 7aa7f0ed95
commit 4e0441ab0b
1 changed files with 4 additions and 0 deletions

View File

@ -1770,6 +1770,10 @@ void Logger::write_version(LogType type)
write_info(type, "sys_mcu", mcu_ver);
}
// data versioning: increase this on every larger data change (format/semantic)
// 1: switch to FIFO drivers (disabled on-chip DLPF)
write_info(type, "ver_data_format", 1);
#ifndef BOARD_HAS_NO_UUID
/* write the UUID if enabled */