mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-13 04:28:13 +08:00
Remove some garbage.
This commit is contained in:
7
dist/dfu.js
vendored
7
dist/dfu.js
vendored
@@ -214,13 +214,8 @@
|
||||
|
||||
device.gatt.connect()
|
||||
.then(function(gattServer) {
|
||||
// Connected
|
||||
server = gattServer;
|
||||
if (gattServer.connected === false) {
|
||||
log('not able to connect to device - ERROR');
|
||||
}
|
||||
log(device.uuids);
|
||||
log("connected to device");
|
||||
server = gattServer;
|
||||
return server.getPrimaryService(serviceUUID);
|
||||
})
|
||||
.then(function(primaryService) {
|
||||
|
||||
Reference in New Issue
Block a user