diff --git a/source/Core/BSP/Pinecilv2/bl_mcu_sdk/components/ble/ble_stack/host/gatt.c b/source/Core/BSP/Pinecilv2/bl_mcu_sdk/components/ble/ble_stack/host/gatt.c index ef9856cb..b972b7d6 100644 --- a/source/Core/BSP/Pinecilv2/bl_mcu_sdk/components/ble/ble_stack/host/gatt.c +++ b/source/Core/BSP/Pinecilv2/bl_mcu_sdk/components/ble/ble_stack/host/gatt.c @@ -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");