diff -r 17edd8a028fa -r 9b76e0881beb include/objdictdef.h --- a/include/objdictdef.h Tue Jan 22 10:27:13 2008 +0100 +++ b/include/objdictdef.h Wed Jan 23 10:35:52 2008 +0100 @@ -118,7 +118,7 @@ /************************** MACROS *********************************/ /* CANopen usefull helpers */ -#define GET_NODE_ID(m) (m.cob_id.w & 0x7f) -#define GET_FUNCTION_CODE(m) (m.cob_id.w >> 7) +#define GET_NODE_ID(m) (m.cob_id & 0x7f) +#define GET_FUNCTION_CODE(m) (m.cob_id >> 7) #endif /* __objdictdef_h__ */