diff options
Diffstat (limited to 'bin/rtspin.c')
-rw-r--r-- | bin/rtspin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/rtspin.c b/bin/rtspin.c index 5e45fb7..649da45 100644 --- a/bin/rtspin.c +++ b/bin/rtspin.c | |||
@@ -264,5 +264,9 @@ int main(int argc, char** argv) | |||
264 | /* 90% wcet, in seconds */ | 264 | /* 90% wcet, in seconds */ |
265 | while (job(wcet_ms * 0.0009, start + duration)); | 265 | while (job(wcet_ms * 0.0009, start + duration)); |
266 | 266 | ||
267 | ret = task_mode(BACKGROUND_TASK); | ||
268 | if (ret != 0) | ||
269 | bail_out("could not become regular task (huh?)"); | ||
270 | |||
267 | return 0; | 271 | return 0; |
268 | } | 272 | } |