equal
deleted
inserted
replaced
79 /** Copy another SDO request. |
79 /** Copy another SDO request. |
80 * |
80 * |
81 * \attention Only the index subindex and data are copied. |
81 * \attention Only the index subindex and data are copied. |
82 */ |
82 */ |
83 int ec_sdo_request_copy( |
83 int ec_sdo_request_copy( |
84 ec_sdo_request_t *req, |
84 ec_sdo_request_t *req, /**< SDO request. */ |
85 const ec_sdo_request_t *other |
85 const ec_sdo_request_t *other /**< Other SDO request to copy from. */ |
86 ) |
86 ) |
87 { |
87 { |
88 req->index = other->index; |
88 req->index = other->index; |
89 req->subindex = other->subindex; |
89 req->subindex = other->subindex; |
90 return ec_sdo_request_copy_data(req, other->data, other->data_size); |
90 return ec_sdo_request_copy_data(req, other->data, other->data_size); |