On Mon, Dec 15, 2008 at 04:57:27PM +0100, Christian Gieseler wrote: > const static ec_pdo_entry_reg_t domain1_regs[] = { > ... > {EL1252Pos, EL1252, 0x6000,1,&off_EL1252_Kanal1_TX}, > {EL1252Pos, EL1252, 0x6000,2,&off_EL1252_Kanal2_TX}, > {}
The reason is, that you don't pass the 'bit_position' parameter of ec_pdo_entry_reg_t. The usual offsets are in byte, so if a PDO entry does not byte-align and you haven't given the master a possibility to tell you the bit offset, it complains about that. -- Best regards, Florian Pose http://etherlab.org _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users