- IedServer: Publish GOOSE data immediately instead of waiting for the application calling IedServer_unlockDataModel

v1.6_develop
Michael Zillgith 2 weeks ago
parent a13961110b
commit 77d0c22efe

@ -4345,18 +4345,7 @@ MmsMapping_triggerGooseObservers(MmsMapping* self, MmsValue* value)
{
MmsGooseControlBlock_setStateChangePending(gcb);
#if (CONFIG_MMS_THREADLESS_STACK != 1)
Semaphore_wait(self->isModelLockedMutex);
#endif
if (self->isModelLocked == false)
{
MmsGooseControlBlock_publishNewState(gcb);
}
#if (CONFIG_MMS_THREADLESS_STACK != 1)
Semaphore_post(self->isModelLockedMutex);
#endif
MmsGooseControlBlock_publishNewState(gcb);
}
}
}

Loading…
Cancel
Save