Skip to content

Commit

Permalink
fix set operation
Browse files Browse the repository at this point in the history
  • Loading branch information
alerighi committed Nov 3, 2023
1 parent ba3cc63 commit f90332f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ public void readRSSI(AsyncOperation operation) throws BleException {
public void cancelPendingOperations() throws BleException {
PendingGattOperation operation = context.getPendingGattOperation();
if (operation != null) {
context.setPendingGattOperation(null);
operation.onCancel(gatt);
context.setPendingGattOperation(null);
}
}

Expand Down

0 comments on commit f90332f

Please sign in to comment.