# HG changeset patch # User Florian Pose # Date 1151436784 0 # Node ID 89d3c61ef3e6fb74dae6a6936afd62d3a568bdf3 # Parent 529c27d9d4d7ebdac193e3c181a9179c9934734c Minor changes to ecrt.h. diff -r 529c27d9d4d7 -r 89d3c61ef3e6 include/ecrt.h --- a/include/ecrt.h Tue Jun 27 19:31:26 2006 +0000 +++ b/include/ecrt.h Tue Jun 27 19:33:04 2006 +0000 @@ -211,7 +211,7 @@ */ #define EC_READ_S8(DATA) \ - ((int8_t) *((uint8_t *) (DATA))) + ((int8_t) *((uint8_t *) (DATA))) /** Read a 16-bit unsigned value from EtherCAT data. @@ -229,7 +229,7 @@ */ #define EC_READ_S16(DATA) \ - ((int16_t) le16_to_cpup((void *) (DATA))) + ((int16_t) le16_to_cpup((void *) (DATA))) /** Read a 32-bit unsigned value from EtherCAT data. @@ -247,7 +247,7 @@ */ #define EC_READ_S32(DATA) \ - ((int32_t) le32_to_cpup((void *) (DATA))) + ((int32_t) le32_to_cpup((void *) (DATA))) /******************************************************************************