diff --git a/examples/BinarySwitchSensorIndication/BinarySwitchSensorIndication.ino b/examples/BinarySwitchSensorIndication/BinarySwitchSensorIndication.ino index 809b63f..f927319 100644 --- a/examples/BinarySwitchSensorIndication/BinarySwitchSensorIndication.ino +++ b/examples/BinarySwitchSensorIndication/BinarySwitchSensorIndication.ino @@ -6,7 +6,7 @@ * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad - * Copyright (C) 2013-2016 Sensnology AB + * Copyright (C) 2013-2019 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org @@ -35,6 +35,8 @@ #define MY_RADIO_RF24 //#define MY_RADIO_RFM69 +#define MY_INDICATION_HANDLER + #include #include #include @@ -147,4 +149,3 @@ void loop() oldValue = value; } } - diff --git a/libraries/SI7021/SI7021.cpp b/libraries/SI7021/SI7021.cpp index c51ab6b..4f929d1 100644 --- a/libraries/SI7021/SI7021.cpp +++ b/libraries/SI7021/SI7021.cpp @@ -38,7 +38,7 @@ bool SI7021::sensorExists() { } int SI7021::getFahrenheitHundredths() { - unsigned int c = getCelsiusHundredths(); + int c = getCelsiusHundredths(); return (1.8 * c) + 3200; }