Skip to content

Commit

Permalink
fix: handle is uninitialized when BFLB_BLE_DISABLE_STATIC_ATTR defined (
Browse files Browse the repository at this point in the history
#1895)

Signed-off-by: yuxiaojun <[email protected]>
  • Loading branch information
slark-yuxj authored Mar 20, 2024
1 parent 1d12e9d commit e8a1c34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ static u8_t match_uuid(const struct bt_gatt_attr *attr, void *user_data) {
int bt_gatt_notify_cb(struct bt_conn *conn, struct bt_gatt_notify_params *params) {
struct notify_data data;
const struct bt_gatt_attr *attr;
u16_t handle;
u16_t handle = 0;

__ASSERT(params, "invalid parameters\n");
__ASSERT(params->attr, "invalid parameters\n");
Expand Down

0 comments on commit e8a1c34

Please sign in to comment.