posix:Added PX4 GUID API board_get_px4_guid_formated

This commit is contained in:
David Sidrane 2017-09-07 14:03:50 -10:00 committed by Beat Küng
parent a16ca0ccf9
commit 347ac48eab
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@
#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(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_get_uuid32_formated(format_buffer, size, format, seperator) do { strcpy(format_buffer, SIM_FORMATED_UUID); } while(0)
#define board_get_px4_guid_formated(format_buffer, size) do { strcpy(format_buffer, BOARD_OVERRIDE_PX4_GUID); } while(0)
#define BOARD_HAS_NO_UUID #define BOARD_HAS_NO_UUID
#define CONFIG_NFILE_STREAMS 1 #define CONFIG_NFILE_STREAMS 1