mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 01:13:35 +08:00
logger: add more version info & uuid
in particular: - SW release version (in addition to the git hash) - OS version (tag + git hash if exists) - mcu version & revision & UUID - toolchain version The uuid can be disabled via parameter, it's enabled by default.
This commit is contained in:
@@ -181,6 +181,11 @@ private:
|
||||
|
||||
void write_info(const char *name, const char *value);
|
||||
void write_info(const char *name, int32_t value);
|
||||
void write_info(const char *name, uint32_t value);
|
||||
|
||||
/** generic common template method for write_info variants */
|
||||
template<typename T>
|
||||
void write_info_template(const char *name, T value, const char *type_str);
|
||||
|
||||
void write_parameters();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user