author | laurent |
Fri, 09 Dec 2011 10:26:56 +0100 | |
changeset 649 | c48023b6f0ec |
parent 648 | 73295e742da2 |
child 650 | 26236e691330 |
--- a/targets/plc_debug.c Mon Nov 28 13:46:48 2011 +0100 +++ b/targets/plc_debug.c Fri Dec 09 10:26:56 2011 +0100 @@ -159,7 +159,7 @@ buffer_cursor = next_cursor; } /* re-force real value of outputs (M and Q)*/ - if(flags & (__IEC_FORCE_FLAG | __IEC_OUTPUT_FLAG)){ + if((flags & __IEC_FORCE_FLAG) && (flags & __IEC_OUTPUT_FLAG)){ memcpy(real_value_p, visible_value_p, size); } }