changeset 245 | 60a221d72152 |
parent 239 | 112b4bc523b3 |
child 280 | f2ef79f3dba0 |
--- a/targets/Linux/plc_Linux_main.c Sun Sep 07 10:03:23 2008 +0200 +++ b/targets/Linux/plc_Linux_main.c Sun Sep 07 10:06:19 2008 +0200 @@ -137,12 +137,14 @@ void suspendDebug() { + __DEBUG = 0; /* Prevent PLC to enter debug code */ pthread_mutex_lock(&debug_mutex); } void resumeDebug() { + __DEBUG = 1; /* Let PLC enter debug code */ pthread_mutex_unlock(&debug_mutex); }