targets/Xenomai/plc_Xenomai_main.c
branchwxPython4
changeset 3405 fdc12f7d27c8
parent 3398 7ca3924be865
equal deleted inserted replaced
3391:0ae5a15efa18 3405:fdc12f7d27c8
   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