Skip to content
Snippets Groups Projects
Commit 728d67cf authored by Bidhya Sharma's avatar Bidhya Sharma Committed by Automerger Merge Worker
Browse files

Merge "[Gatt Test] Properly initialize attr value" am: b58ef0c7

parents e473638e b58ef0c7
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,9 @@ TEST(GattCacheTest, stored_attribute_to_binary_descriptor_test) {
/* make sure padding at end of union is cleared */
memset(&attr, 0, sizeof(attr));
attr = {.handle = 0x0003, .type = Uuid::FromString("2902"), .value = {}};
attr = {.handle = 0x0003,
.type = Uuid::FromString("2902"),
.value = {.characteristic_extended_properties = 0x00}};
constexpr size_t len = sizeof(StoredAttribute);
// clang-format off
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment