From: Michal Sojka Date: Thu, 27 Aug 2015 12:09:08 +0000 (+0200) Subject: Do not exit when overrun is detected X-Git-Tag: eaton-0.6~14 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-simulink.git/commitdiff_plain/5a39115a826af587338f4fd26bd948a9ab7ac910 Do not exit when overrun is detected --- diff --git a/rpp/rpp/rpp_mrmain.tlc b/rpp/rpp/rpp_mrmain.tlc index b6b5e56..36edd27 100644 --- a/rpp/rpp/rpp_mrmain.tlc +++ b/rpp/rpp/rpp_mrmain.tlc @@ -167,7 +167,8 @@ eventFlags[i] = FALSE; uint32_t step_sem_value = uxQueueMessagesWaiting(sub_rate[i].sem); if (step_sem_value) { - rtmSetErrorStatus(%_M, "Overrun"); + %% Commented out so that overrun does stop the whole execution + %% rtmSetErrorStatus(%_M, "Overrun"); overrun_flag = TRUE; break; }