Fixed sdoUpload().

This commit is contained in:
Florian Pose 2008-07-23 07:29:00 +00:00
parent 3e3266a6ad
commit 206990db10
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ void MasterDevice::sdoDownload(ec_ioctl_slave_sdo_download_t *data)
void MasterDevice::sdoUpload(ec_ioctl_slave_sdo_upload_t *data)
{
if (ioctl(fd, EC_IOCTL_SLAVE_SDO_UPLOAD, &data) < 0) {
if (ioctl(fd, EC_IOCTL_SLAVE_SDO_UPLOAD, data) < 0) {
stringstream err;
err << "Failed to upload Sdo: ";
if (errno == EIO && data->abort_code) {