targets/Xenomai/plc_Xenomai_main.c
branchRuntimeLists
changeset 3398 7ca3924be865
parent 3315 5f9db9c6c69c
equal deleted inserted replaced
3397:75920c99ffc9 3398:7ca3924be865
   382     return 0;
   382     return 0;
   383 }
   383 }
   384 
   384 
   385 void resumeDebug(void)
   385 void resumeDebug(void)
   386 {
   386 {
       
   387     __DEBUG = 1;
   387     AtomicCompareExchange( &debug_state, DEBUG_BUSY, DEBUG_FREE);
   388     AtomicCompareExchange( &debug_state, DEBUG_BUSY, DEBUG_FREE);
   388 }
   389 }
   389 
   390 
   390 #define PYTHON_FREE 0
   391 #define PYTHON_FREE 0
   391 #define PYTHON_BUSY 1
   392 #define PYTHON_BUSY 1