Diff between bd5342fdf46af482c851af754cca14c1b51ee2d3 and 3a2d3b31a3b5a7eeb45952ce880ca58c93b985bb
Changed Files
| File | Additions | Deletions | Status |
| unit/test-micp.c | +1 | -1 | modified |
Full Patch
diff --git a/unit/test-micp.c b/unit/test-micp.c
index e2975c2..a7fc7fb 100644
--- a/unit/test-micp.c
+++ b/unit/test-micp.c
@@ -147,7 +147,7 @@ static void micp_write_value(struct bt_micp *micp, void *user_data)
struct bt_mics *mics = micp_get_mics(micp);
uint16_t value_handle;
int ret;
- const uint16_t value = 0x0001;
+ uint16_t value = cpu_to_le16(0x0001);
gatt_db_attribute_get_char_data(mics->ms, NULL, &value_handle,
NULL, NULL, NULL);