From 50cde2cd0f6435620e73650ea456e2d67fddac5c Mon Sep 17 00:00:00 2001 From: Marco Scholl Date: Fri, 5 Jan 2024 15:36:25 +0100 Subject: [PATCH] fixes the dpt13 converting --- src/knx/knx_value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/knx/knx_value.cpp b/src/knx/knx_value.cpp index c8d9f54..3ab14f9 100644 --- a/src/knx/knx_value.cpp +++ b/src/knx/knx_value.cpp @@ -403,7 +403,7 @@ int32_t KNXValue::intValue() const switch (_type) { case IntType: - return _value.shortValue; + return _value.ulongValue; case BoolType: case UCharType: case UShortType: