mirror of
https://github.com/thelsing/knx.git
synced 2026-02-23 13:50:35 +01:00
add converstions to KnxValue and remove now obsolet methods
This commit is contained in:
@@ -45,7 +45,7 @@ void measureTemp()
|
||||
// callback from reset-GO
|
||||
void resetCallback(GroupObject& go)
|
||||
{
|
||||
if (go.value().boolValue())
|
||||
if (go.value())
|
||||
{
|
||||
maxValue = 0;
|
||||
minValue = 10000;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// callback from switch-GO
|
||||
void switchCallback(GroupObject& go)
|
||||
{
|
||||
if (goBlock.value().boolValue())
|
||||
if (goBlock.value())
|
||||
return;
|
||||
|
||||
bool value = goSwitch.value();
|
||||
|
||||
Reference in New Issue
Block a user