diff options
author | dakkar <dakkar@thenautilus.net> | 2018-08-03 12:22:51 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-08-03 12:22:51 +0100 |
commit | 27e209cf58abeda1dc110777f99a98804a13fdbf (patch) | |
tree | 3085c819c1145ab64c8e388c08b42a71ba3a726b /sensor | |
parent | bump submodules (diff) | |
download | thermostat-27e209cf58abeda1dc110777f99a98804a13fdbf.tar.gz thermostat-27e209cf58abeda1dc110777f99a98804a13fdbf.tar.bz2 thermostat-27e209cf58abeda1dc110777f99a98804a13fdbf.zip |
don't print from callback, there's races
Diffstat (limited to 'sensor')
-rw-r--r-- | sensor/thermostat.ino | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sensor/thermostat.ino b/sensor/thermostat.ino index b6d4102..4ab3833 100644 --- a/sensor/thermostat.ino +++ b/sensor/thermostat.ino @@ -41,10 +41,6 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks { void onResult(BLEAdvertisedDevice advertisedDevice) { // We have found a device, let us now see if it contains the service we are looking for. - String results = "Found: \n"; - results += String(advertisedDevice.getAddress().toString().c_str()); - show(results); - if (advertisedDevice.haveName() && advertisedDevice.getName() == "termostore") { advertisedDevice.getScan()->stop(); |