mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-05 21:04:49 +00:00
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:
committed by
Abhinav Kudnar
parent
4ebc01dbc1
commit
b0633faede
@@ -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 = { \
|
||||
|
||||
Reference in New Issue
Block a user