mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
Returning correct value for ULongType. (#157)
This commit is contained in:
parent
63ff2c5d4d
commit
eb7ae16dde
@ -318,7 +318,7 @@ uint64_t KNXValue::ulongValue() const
|
|||||||
switch (_type)
|
switch (_type)
|
||||||
{
|
{
|
||||||
case ULongType:
|
case ULongType:
|
||||||
return _value.uintValue;
|
return _value.ulongValue;
|
||||||
case BoolType:
|
case BoolType:
|
||||||
return _value.boolValue ? 1 : 0;
|
return _value.boolValue ? 1 : 0;
|
||||||
case UCharType:
|
case UCharType:
|
||||||
|
Loading…
Reference in New Issue
Block a user