Skip to content

Commit fd846b3

Browse files
committed
api v3.7.1 commit
1 parent ccaf2c0 commit fd846b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ android {
3131
defaultConfig {
3232
minSdkVersion 18
3333
targetSdkVersion 28
34-
versionCode 60
35-
versionName "3.7.0"
34+
versionCode 61
35+
versionName "3.7.1"
3636
}
3737
buildTypes {
3838
release {

library/src/main/java/com/mbientlab/metawear/impl/SensorFusionBoschImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ public Task<CalibrationData> calibrate(CancellationToken ct, long pollingPeriod,
715715
gyro = new Capture<>(null),
716716
mag = new Capture<>(null);
717717

718-
return Task.forResult(null).continueWhile(() -> !terminate.get(), ignored -> ct.isCancellationRequested() ? readCalibrationStateAsync().onSuccessTask(task -> {
718+
return Task.forResult(null).continueWhile(() -> !terminate.get(), ignored -> !ct.isCancellationRequested() ? readCalibrationStateAsync().onSuccessTask(task -> {
719719
if (updateHandler != null) {
720720
updateHandler.receivedUpdate(task.getResult());
721721
}

0 commit comments

Comments
 (0)