diff -r 8ba9ec4bae50 -r bd1360f29f15 lib/iec_types_all.h --- a/lib/iec_types_all.h Thu Oct 04 14:30:51 2012 +0100 +++ b/lib/iec_types_all.h Thu Oct 04 15:10:45 2012 +0100 @@ -131,7 +131,7 @@ typedef struct { BOOL stored; // action storing state. 0 : not stored, 1: stored - BOOL state; // current action state. 0 : inative, 1: active + __IEC_BOOL_t state; // current action state. 0 : inative, 1: active BOOL set; // set have been requested (reset each time the body is evaluated) BOOL reset; // reset have been requested (reset each time the body is evaluated) TIME set_remaining_time; // time before set will be requested