incyclist-devices 2.0.27 → 2.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -235,13 +235,11 @@ class DaumAdapterBase extends adapter_1.SerialIncyclistDevice {
|
|
|
235
235
|
}
|
|
236
236
|
update() {
|
|
237
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
238
|
-
this.logEvent({ message: 'bike update request', stopped: this.stopped, updateBusy: this.updateBusy });
|
|
239
238
|
if (this.stopped)
|
|
240
239
|
return;
|
|
241
240
|
this.updateBusy = true;
|
|
242
241
|
this.getCurrentBikeData()
|
|
243
242
|
.then(bikeData => {
|
|
244
|
-
this.logEvent({ message: 'bike data', data: bikeData });
|
|
245
243
|
const incyclistData = this.updateData(this.cyclingData, bikeData);
|
|
246
244
|
const data = this.transformData(incyclistData);
|
|
247
245
|
this.updateBusy = false;
|