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

Loading…
Cancel
Save