- added Timestamp_clearFlags function
This commit is contained in:
parent
811b8f4572
commit
a5ed8a650b
3 changed files with 12 additions and 0 deletions
|
@ -191,6 +191,12 @@ FunctionalConstraint_fromString(char* fcString)
|
|||
return NONE;
|
||||
}
|
||||
|
||||
void
|
||||
Timestamp_clearFlags(Timestamp* self)
|
||||
{
|
||||
self->val[7] = 0;
|
||||
}
|
||||
|
||||
bool
|
||||
Timestamp_isLeapSecondKnown(Timestamp* self)
|
||||
{
|
||||
|
|
|
@ -313,6 +313,9 @@ typedef union {
|
|||
uint8_t val[8];
|
||||
} Timestamp;
|
||||
|
||||
void
|
||||
Timestamp_clearFlags(Timestamp* self);
|
||||
|
||||
uint32_t
|
||||
Timestamp_getTimeInSeconds(Timestamp* self);
|
||||
|
||||
|
|
|
@ -1058,6 +1058,9 @@ IedServer_setWriteAccessPolicy(IedServer self, FunctionalConstraint fc, AccessPo
|
|||
void
|
||||
IedServer_handleWriteAccess(IedServer self, DataAttribute* dataAttribute, WriteAccessHandler handler)
|
||||
{
|
||||
if (dataAttribute == NULL)
|
||||
*((int*) NULL) = 1;
|
||||
|
||||
MmsMapping_installWriteAccessHandler(self->mmsMapping, dataAttribute, handler);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue