Commit ea996973 authored by Claes Sjofors's avatar Claes Sjofors

Plc compile fix for inverted input in DSup and XOr

parent bd98fefa
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
@aref xor XOr @aref xor XOr
*/ */
#define xor_exec(obj, in1, in2) obj->Status = !(in1 == in2); #define xor_exec(obj, in1, in2) obj->Status = !((in1) == (in2));
/*_* /*_*
EDGE EDGE
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
*/ */
#define DSup_exec(o, In, con) \ #define DSup_exec(o, In, con) \
timer2_scan(tp, o); \ timer2_scan(tp, o); \
if (In != o->CtrlPosition) { \ if ((In) != o->CtrlPosition) { \
if (o->Action) \ if (o->Action) \
o->Action = FALSE; \ o->Action = FALSE; \
if (o->ReturnCheck) { \ if (o->ReturnCheck) { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment