Skip to content
Snippets Groups Projects
Commit 490284b2 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed invalid format string.

parent a544bedb
No related branches found
No related tags found
No related merge requests found
......@@ -74,8 +74,7 @@ int ec_slave_sdo_read_exp(ec_slave_t *slave, /**< EtherCAT-Slave */
EC_READ_U8 (data + 2) >> 5 != 0x2 || // Upload response
EC_READ_U16(data + 3) != sdo_index || // Index
EC_READ_U8 (data + 5) != sdo_subindex) { // Subindex
EC_ERR("SDO upload 0x%04X:%X failed:\n",
sdo_index, sdo_subindex, slave->ring_position);
EC_ERR("SDO upload 0x%04X:%X failed:\n", sdo_index, sdo_subindex);
EC_ERR("Invalid SDO upload response at slave %i!\n",
slave->ring_position);
ec_print_data(data, rec_size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment