From 4e0441ab0b9487d3bcd87cdc3373575c0fb1c9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 7 Apr 2020 08:35:22 +0200 Subject: [PATCH] logger: add data format version tag --- src/modules/logger/logger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/logger/logger.cpp b/src/modules/logger/logger.cpp index 1c0a9c5a9e..4362ff5b23 100644 --- a/src/modules/logger/logger.cpp +++ b/src/modules/logger/logger.cpp @@ -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 */