Skip to content

Commit

Permalink
Merge 11a5175 into c2317a3
Browse files Browse the repository at this point in the history
  • Loading branch information
friebel committed Jul 5, 2020
2 parents c2317a3 + 11a5175 commit 9cafeb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extmod/nimble/modbluetooth_nimble.c
Expand Up @@ -846,7 +846,7 @@ STATIC int ble_gatt_attr_read_cb(uint16_t conn_handle, const struct ble_gatt_err
if (error->status == 0) {
gattc_on_data_available(MP_BLUETOOTH_IRQ_GATTC_READ_RESULT, conn_handle, attr->handle, attr->om);
}
mp_bluetooth_gattc_on_read_write_status(MP_BLUETOOTH_IRQ_GATTC_READ_DONE, conn_handle, attr->handle, error->status);
mp_bluetooth_gattc_on_read_write_status(MP_BLUETOOTH_IRQ_GATTC_READ_DONE, conn_handle, attr ? attr->handle : -1, error->status);
return 0;
}

Expand Down

0 comments on commit 9cafeb1

Please sign in to comment.