Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_32Bit_Generic/etSema.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_32Bit_Generic/etSema.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_32Bit_Generic/etSema.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_32Bit_Generic/etSema.c
index 00579a65c..923e87c82 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_32Bit_Generic/etSema.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_32Bit_Generic/etSema.c
@@ -41,6 +41,7 @@ void etSema_waitForWakeup(etSema* self){
etTime actualTime;
ET_MSC_LOGGER_SYNC_ENTRY("etSema", "waitForWakeup")
/* busy wait as specified in etphys */
+
getTimeFromTarget(&actualTime);
if (etTimeHelpers_isGreater(&actualTime, &nextTime)){
etTimeHelpers_add(&nextTime,&(singleThreadedTimer->timerInterval));

Back to the top