Skip to content

Commit

Permalink
let me be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
svogl committed Oct 28, 2019
1 parent c92cbac commit f1cc0e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/cache-gatt-discovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ let findServices = function (noble, peripheral) {

peripheral.discoverServices([], (error, services) => {

let sensorCharacteristic = undefined
let sensorCharacteristic

servicesToRead = services.length
// we found the list of services, now trigger characteristics lookup for each of them:
Expand Down
2 changes: 1 addition & 1 deletion examples/cache-gatt-reconnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ let setData = function(peripheral, meta) {
}
console.log()

let sensorCharacteristic = undefined
let sensorCharacteristic

console.log('initializing characteristics... ')
// now, for each service, set the characteristics:
Expand Down

0 comments on commit f1cc0e4

Please sign in to comment.