From 9edf7b8c092d6d9230525f2c506a22ae225617e0 Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Tue, 27 Jun 2006 19:33:04 +0000 Subject: [PATCH] Minor changes to ecrt.h. --- include/ecrt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ecrt.h b/include/ecrt.h index e28d50eb..7048d964 100644 --- a/include/ecrt.h +++ b/include/ecrt.h @@ -211,7 +211,7 @@ int ecrt_slave_field_size(ec_slave_t *slave, const char *field_name, */ #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 @@ int ecrt_slave_field_size(ec_slave_t *slave, const char *field_name, */ #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 @@ int ecrt_slave_field_size(ec_slave_t *slave, const char *field_name, */ #define EC_READ_S32(DATA) \ - ((int32_t) le32_to_cpup((void *) (DATA))) + ((int32_t) le32_to_cpup((void *) (DATA))) /****************************************************************************** -- GitLab