master/sdo_request.c
branchstable-1.5
changeset 2434 fa52128477f6
parent 1975 8e173dddd183
child 2522 ec403cf308eb
--- a/master/sdo_request.c	Thu Sep 20 15:28:25 2012 +0200
+++ b/master/sdo_request.c	Thu Oct 04 10:07:52 2012 +0200
@@ -116,20 +116,6 @@
 
 /*****************************************************************************/
 
-/** Set the SDO address.
- */
-void ec_sdo_request_address(
-        ec_sdo_request_t *req, /**< SDO request. */
-        uint16_t index, /**< SDO index. */
-        uint8_t subindex /**< SDO subindex. */
-        )
-{
-    req->index = index;
-    req->subindex = subindex;
-}
-
-/*****************************************************************************/
-
 /** Pre-allocates the data memory.
  *
  * If the \a mem_size is already bigger than \a size, nothing is done.
@@ -196,6 +182,15 @@
  * Application interface.
  ****************************************************************************/
 
+void ecrt_sdo_request_index(ec_sdo_request_t *req, uint16_t index,
+        uint8_t subindex)
+{
+    req->index = index;
+    req->subindex = subindex;
+}
+
+/*****************************************************************************/
+
 void ecrt_sdo_request_timeout(ec_sdo_request_t *req, uint32_t timeout)
 {
     req->issue_timeout = timeout;
@@ -248,6 +243,7 @@
 
 /** \cond */
 
+EXPORT_SYMBOL(ecrt_sdo_request_index);
 EXPORT_SYMBOL(ecrt_sdo_request_timeout);
 EXPORT_SYMBOL(ecrt_sdo_request_data);
 EXPORT_SYMBOL(ecrt_sdo_request_data_size);