]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/blobdiff - rpp/rpp/rpp_mrmain.tlc
Remove possibility of undetected overruns
[jenkicar/rpp-simulink.git] / rpp / rpp / rpp_mrmain.tlc
index c93e9f4ba921430d8bebcfffc17cd0036cec1d1f..b6b5e56f206fbd77abc32dab44ffe791cfcf2931 100644 (file)
                         overrun_flag = TRUE;
                         break;
                     }
-                    else {
-                        overrun_flag = FALSE;
-                    }
                     if (xSemaphoreGive(sub_rate[i].sem) == pdFALSE) {
                         rpp_sci_printk("ERROR: Task %d semaphore 1 give.\n", i);
                         while (1) ;