mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-16 05:58:12 +08:00
Switched to using eslint
This commit is contained in:
4
dist/dfu.js
vendored
4
dist/dfu.js
vendored
@@ -230,7 +230,7 @@
|
||||
log("connected to device");
|
||||
currentServer = gattServer;
|
||||
// This delay is needed because BlueZ needs time to update it's cache.
|
||||
return new Promise(function(resolve, reject) {
|
||||
return new Promise(function(resolve) {
|
||||
setTimeout(resolve, 2000);
|
||||
});
|
||||
})
|
||||
@@ -257,7 +257,7 @@
|
||||
versionChar = characteristic;
|
||||
complete();
|
||||
})
|
||||
.catch(function(error) {
|
||||
.catch(function() {
|
||||
log("info: no version characteristic found");
|
||||
complete();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user