diff --git a/lib/ble/index.js b/lib/ble/index.js index 2332fd8..60b1d73 100644 --- a/lib/ble/index.js +++ b/lib/ble/index.js @@ -88,8 +88,8 @@ function onWifiWrite (data, offset, withoutResponse, callback) { } function onWifiRead (offset, callback) { - const result = bleno.Characteristic.RESULT_SUCCESS - const wifiRes = {} + let result = bleno.Characteristic.RESULT_SUCCESS + let wifiRes = {} let data wifi.list((err, list) => { if (err) {