mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 04:30:36 +08:00
logger: avoid logging the UUID if the system does not provide it
The linux targets don't have it and setting a fixed constant causes wrong vehicle associationss in Flight Review.
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
#define board_get_uuid32(id) do {for(int _idi=0; _idi < PX4_CPU_UUID_WORD32_LENGTH; _idi++) {id[_idi] = _idi;}} while(0)
|
||||
#define board_get_uuid32_formated(format_buffer, size, format, seperator) do { strcpy(format_buffer, SIM_FORMATED_UUID); } while(0)
|
||||
|
||||
#define BOARD_HAS_NO_UUID
|
||||
|
||||
#define CONFIG_NFILE_STREAMS 1
|
||||
#define CONFIG_SCHED_WORKQUEUE 1
|
||||
|
||||
Reference in New Issue
Block a user