# HG changeset patch # User Florian Pose # Date 1144314985 0 # Node ID 51dea253c49d5e19e924e93d307a4059984af4b3 # Parent ed85368b2b2ebefa5cbba1220b6661095c65a93b Fixed syntax error in EC_READ_BIT macro. diff -r ed85368b2b2e -r 51dea253c49d include/ecrt.h --- a/include/ecrt.h Wed Apr 05 14:02:56 2006 +0000 +++ b/include/ecrt.h Thu Apr 06 09:16:25 2006 +0000 @@ -109,7 +109,7 @@ /*****************************************************************************/ // Bitwise read/write macros -#define EC_READ_BIT(PD, CH) (*((uint8_t *) (PD)) >> (CH)) & 0x01) +#define EC_READ_BIT(PD, CH) ((*((uint8_t *) (PD)) >> (CH)) & 0x01) #define EC_WRITE_BIT(PD, CH, VAL) \ do { \