Merge pull request #29 from stv0g/refactoring

Use spaces instead of tabs consistently
pull/37/head
Michael Zillgith 8 years ago committed by GitHub
commit 180e5e7f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -257,13 +257,13 @@ encodeUtcTime(uint64_t timeval, uint8_t* buffer, int bufPos)
SampledValuesPublisher SampledValuesPublisher
SampledValuesPublisher_create(CommParameters* parameters, const char* interfaceId) SampledValuesPublisher_create(CommParameters* parameters, const char* interfaceId)
{ {
SampledValuesPublisher self = (SampledValuesPublisher) GLOBAL_CALLOC(1, sizeof(struct sSampledValuesPublisher)); SampledValuesPublisher self = (SampledValuesPublisher) GLOBAL_CALLOC(1, sizeof(struct sSampledValuesPublisher));
self->asduLIst = NULL; self->asduLIst = NULL;
preparePacketBuffer(self, parameters, interfaceId); preparePacketBuffer(self, parameters, interfaceId);
return self; return self;
} }
SV_ASDU SV_ASDU
@ -465,7 +465,7 @@ SampledValuesPublisher_publish(SampledValuesPublisher self)
void void
SampledValuesPublisher_destroy(SampledValuesPublisher self) SampledValuesPublisher_destroy(SampledValuesPublisher self)
{ {
GLOBAL_FREEMEM(self->buffer); GLOBAL_FREEMEM(self->buffer);
} }

Loading…
Cancel
Save