From 67b52ec95b445baa709e930adb5ece7cd8253f0f Mon Sep 17 00:00:00 2001 From: Bruce Lacey Date: Fri, 21 Mar 2014 13:41:21 -0700 Subject: [PATCH] Tweaked sketch info formatting in two examples for consistency... --- .../DallasTemperatureSensor/DallasTemperatureSensor.ino | 5 ++--- .../EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/MySensors/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino b/libraries/MySensors/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino index 22fd824..6d6252c 100644 --- a/libraries/MySensors/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino +++ b/libraries/MySensors/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino @@ -23,9 +23,8 @@ void setup() sensors.begin(); gw.begin(); - // Send the sketch version information to the gateway and Controller - gw.sendSketchInfo("Temperature Sensor", "1.0"); - + // Send the sketch version information to the gateway and Controller + gw.sendSketchInfo("Temperature Sensor", "1.0"); // Fetch the number of attached sensors numSensors = sensors.getDeviceCount(); diff --git a/libraries/MySensors/examples/EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino b/libraries/MySensors/examples/EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino index 9eb7b1f..526714d 100644 --- a/libraries/MySensors/examples/EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino +++ b/libraries/MySensors/examples/EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino @@ -42,7 +42,6 @@ void setup() // Send the sketch version information to the gateway and Controller gw.sendSketchInfo("Energy Meter", "1.0"); - // Register this device as power sensor gw.sendSensorPresentation(CHILD_ID, S_POWER);