mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Apply consistent style to node-red-nodes
(not updating npm for this yet - just whitespace)
This commit is contained in:
@@ -55,7 +55,7 @@ function BleScan(n) {
|
||||
msg.payload = "not found";
|
||||
|
||||
//check for the device name and the UUID (first one from the UUID list)
|
||||
if(peripheral.advertisement.localName==node.ble_name && peripheral.advertisement.serviceUuids[0]==node.ble_uuid) {
|
||||
if (peripheral.advertisement.localName==node.ble_name && peripheral.advertisement.serviceUuids[0]==node.ble_uuid) {
|
||||
msg.payload=peripheral.advertisement.localName;
|
||||
noble.stopScanning();
|
||||
}
|
||||
|
Reference in New Issue
Block a user