equal
deleted
inserted
replaced
55 |
55 |
56 UNS8 prp_j = 0x00; |
56 UNS8 prp_j = 0x00; |
57 UNS8 offset = 0x00; |
57 UNS8 offset = 0x00; |
58 const UNS8 *pMappingCount = (UNS8 *) TPDO_map->pSubindex[0].pObject; |
58 const UNS8 *pMappingCount = (UNS8 *) TPDO_map->pSubindex[0].pObject; |
59 |
59 |
60 pdo->cob_id = *(UNS16 *) TPDO_com->pSubindex[1].pObject & UNS16_LE (0x7FF); |
60 pdo->cob_id = UNS16_LE(*(UNS32*)TPDO_com->pSubindex[1].pObject & 0x7FF); |
61 pdo->rtr = NOT_A_REQUEST; |
61 pdo->rtr = NOT_A_REQUEST; |
62 |
62 |
63 MSG_WAR (0x3009, " PDO CobId is : ", |
63 MSG_WAR (0x3009, " PDO CobId is : ", |
64 *(UNS32 *) TPDO_com->pSubindex[1].pObject); |
64 *(UNS32 *) TPDO_com->pSubindex[1].pObject); |
65 MSG_WAR (0x300D, " Number of objects mapped : ", *pMappingCount); |
65 MSG_WAR (0x300D, " Number of objects mapped : ", *pMappingCount); |