src/pdo.c
changeset 712 d1ccff139c17
parent 688 514108c6e4c4
parent 711 4b64e17396af
child 742 10e165c6743c
equal deleted inserted replaced
710:e7a45c77d6ec 712:d1ccff139c17
    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);