Skip to content

Commit

Permalink
api v3.7.1 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
scaryghost committed Jan 3, 2019
1 parent ccaf2c0 commit fd846b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ android {
defaultConfig {
minSdkVersion 18
targetSdkVersion 28
versionCode 60
versionName "3.7.0"
versionCode 61
versionName "3.7.1"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ public Task<CalibrationData> calibrate(CancellationToken ct, long pollingPeriod,
gyro = new Capture<>(null),
mag = new Capture<>(null);

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

0 comments on commit fd846b3

Please sign in to comment.