mirror of
https://github.com/thelsing/knx.git
synced 2026-04-06 03:21:49 +02:00
fix build
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
#include "datapoint_types.h"
|
||||
#include "../interface_object/group_object_table_object.h"
|
||||
#include "../bits.h"
|
||||
#include "../util/logger.h"
|
||||
#include "../bits.h"
|
||||
|
||||
|
||||
#include <cstring>
|
||||
|
||||
@@ -95,7 +96,7 @@ namespace Knx
|
||||
return _data;
|
||||
}
|
||||
|
||||
uint16_t GroupObject::asap()
|
||||
uint16_t GroupObject::asap() const
|
||||
{
|
||||
return _asap;
|
||||
}
|
||||
@@ -228,6 +229,7 @@ namespace Knx
|
||||
void GroupObject::processClassCallback(GroupObject& go)
|
||||
{
|
||||
LOGGER.info("processClassCallback for go %d, handlerset:%d", go.asap(), _updateHandlerStatic != 0);
|
||||
|
||||
if (_updateHandlerStatic != 0)
|
||||
_updateHandlerStatic(go);
|
||||
}
|
||||
@@ -330,4 +332,9 @@ namespace Knx
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool operator==(const GroupObject& lhs, const GroupObject& rhs)
|
||||
{
|
||||
return lhs.asap() == rhs.asap();
|
||||
}
|
||||
}
|
||||
@@ -142,7 +142,7 @@ namespace Knx
|
||||
* returns the Application Service Access Point of the group object. In reality this is just the number of the group object.
|
||||
* (in german "KO-Nr")
|
||||
*/
|
||||
uint16_t asap();
|
||||
uint16_t asap() const;
|
||||
|
||||
/**
|
||||
* return the current value of the group object.
|
||||
@@ -266,4 +266,6 @@ namespace Knx
|
||||
Dpt _datapointType;
|
||||
#endif
|
||||
};
|
||||
|
||||
bool operator==(const GroupObject& lhs, const GroupObject& rhs);
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "table_object.h"
|
||||
#include "../bits.h"
|
||||
#include "../util/memory.h"
|
||||
#include "../util/logger.h"
|
||||
#include "../bits.h"
|
||||
|
||||
#define LOGGER Logger::logger("TableObject")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user