author | edouard |
Wed, 16 Mar 2011 18:01:07 +0100 | |
changeset 581 | 57605e8e89f0 |
parent 580 | 9dd978e6537c |
child 582 | bb5d0367bf32 |
--- a/targets/plc_debug.c Wed Mar 16 17:26:54 2011 +0100 +++ b/targets/plc_debug.c Wed Mar 16 18:01:07 2011 +0100 @@ -214,6 +214,9 @@ * Trigger asynchronous transmission * (returns immediately) */ InitiateDebugTransfer(); /* size */ + }else{ + /* when not debugging, do only retain */ + __for_each_variable_do(RetainIterator); } LeaveDebugSection(); }else{