changeset 290 | 3bd617ae7a05 |
parent 280 | f2ef79f3dba0 |
child 329 | 22e65b8e20f4 |
--- a/targets/Linux/plc_Linux_main.c Fri Jan 09 17:08:31 2009 +0100 +++ b/targets/Linux/plc_Linux_main.c Wed Jan 14 16:41:14 2009 +0100 @@ -141,12 +141,14 @@ void suspendDebug(void) { + __DEBUG = 0; /* Prevent PLC to enter debug code */ pthread_mutex_lock(&debug_mutex); } void resumeDebug(void) { + __DEBUG = 1; /* Let PLC enter debug code */ pthread_mutex_unlock(&debug_mutex); }