Remove some garbage.

This commit is contained in:
Michael Dietz
2016-03-01 14:40:23 +01:00
parent 5d01200309
commit a497d1af8f

7
dist/dfu.js vendored
View File

@@ -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) {