--- a/targets/Xenomai/plc_Xenomai_main.c Sun Mar 11 19:42:14 2012 +0100+++ b/targets/Xenomai/plc_Xenomai_main.c Sun Mar 11 22:00:15 2012 +0100@@ -75,7 +75,7 @@ { PLC_SetTimer(Ttick, Ttick);- while (1) {+ while (!PLC_shutdown) { PLC_GetTime(&__CURRENT_TIME); __run(); if (PLC_shutdown) break;