src/pdo.c
changeset 711 4b64e17396af
parent 670 e37511baf56b
child 712 d1ccff139c17
equal deleted inserted replaced
672:3bbc9aeba925 711:4b64e17396af
    87           if (getODentry (d, index, subIndex, tmp, &ByteSize, &dataType, 0) !=
    87           if (getODentry (d, index, subIndex, tmp, &ByteSize, &dataType, 0) !=
    88               OD_SUCCESSFUL)
    88               OD_SUCCESSFUL)
    89             {
    89             {
    90               MSG_ERR (0x1013,
    90               MSG_ERR (0x1013,
    91                        " Couldn't find mapped variable at index-subindex-size : ",
    91                        " Couldn't find mapped variable at index-subindex-size : ",
    92                        (UNS16) (*pMappingParameter));
    92                        (UNS32) (*pMappingParameter));
    93               return 0xFF;
    93               return 0xFF;
    94             }
    94             }
    95           /* copy bit per bit in little endian */
    95           /* copy bit per bit in little endian */
    96           CopyBits ((UNS8) Size, ((UNS8 *) tmp), 0, 0,
    96           CopyBits ((UNS8) Size, ((UNS8 *) tmp), 0, 0,
    97                     (UNS8 *) & pdo->data[offset >> 3], (UNS8)(offset % 8), 0);
    97                     (UNS8 *) & pdo->data[offset >> 3], (UNS8)(offset % 8), 0);