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:
Beat Küng
2017-07-24 08:15:56 +02:00
parent 286c3d41d3
commit 0109154c43
2 changed files with 3 additions and 0 deletions
@@ -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