Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle is uninitialized when BFLB_BLE_DISABLE_STATIC_ATTR defined #1895

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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