Fixed sdoUpload().
authorFlorian Pose <fp@igh-essen.com>
Wed, 23 Jul 2008 07:29:00 +0000
changeset 1135 807ec6498502
parent 1134 3356141fa2f8
child 1136 a0982873d655
Fixed sdoUpload().
tool/MasterDevice.cpp
--- a/tool/MasterDevice.cpp	Wed Jul 23 07:26:19 2008 +0000
+++ b/tool/MasterDevice.cpp	Wed Jul 23 07:29:00 2008 +0000
@@ -384,7 +384,7 @@
 
 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) {