Merge pull request #271 from OpenKNX/fix/dpt13_int32t

fixes the dpt13 converting
This commit is contained in:
thelsing 2024-02-12 08:52:46 +01:00 committed by GitHub
commit 969b4c441e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -403,7 +403,7 @@ int32_t KNXValue::intValue() const
switch (_type) switch (_type)
{ {
case IntType: case IntType:
return _value.shortValue; return _value.ulongValue;
case BoolType: case BoolType:
case UCharType: case UCharType:
case UShortType: case UShortType: