nimble/host: Make BLE_UUIDxx_INIT macros C++ compatible

Allows to use `ble_uuid.h` with C++ by changing the BLE_UUIDy_INIT macros.
Build environment:

ninja 1.9.0
cmake 3.16
xtensa-esp32-elf-gcc.exe (crosstool-NG esp-2021r2-patch3) 8.4.0 (based on GCC 8.4.0)
This commit is contained in:
Daniel Kampert
2022-05-13 15:02:55 +02:00
committed by Abhinav Kudnar
parent 4ebc01dbc1
commit b0633faede
-9
View File
@@ -130,15 +130,6 @@ typedef union {
.value = (uuid32), \
}
/**
* @brief Macro for initializing a 128-bit UUID.
*
* This macro initializes a 128-bit UUID with the provided value.
*
* @param uuid128 The value of the 128-bit UUID.
*
* @return The initialized 128-bit UUID structure.
*/
#define BLE_UUID128_INIT(uuid128 ...) \
{ \
.u = { \