From b2bd74f53c3357f6c7e56fc55d65dff769e90c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 10 Feb 2022 06:47:28 -0300 Subject: [PATCH] AP_Common: AP_FWVersionDefine: Add comment about version number MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- libraries/AP_Common/AP_FWVersionDefine.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_Common/AP_FWVersionDefine.h b/libraries/AP_Common/AP_FWVersionDefine.h index fa5859cba2..6570b8107c 100644 --- a/libraries/AP_Common/AP_FWVersionDefine.h +++ b/libraries/AP_Common/AP_FWVersionDefine.h @@ -34,6 +34,11 @@ #define ORIGINAL_FWSTR nullptr #endif +/** + * The version number should be used when the structure is updated + * Major: For breaking changes of the structure + * Minor: For new fields that does not brake the structure or corrections + */ const AP_FWVersion AP_FWVersion::fwver{ // Version header struct .header = 0x61706677766572fb, // First 7 MSBs: "apfwver", LSB is the checksum of the previous string: 0xfb