Minor changes.
authorFlorian Pose <fp@igh-essen.com>
Tue, 04 Mar 2008 12:38:51 +0000
changeset 862 6151a4db6648
parent 861 6e3de145421a
child 863 1f85dbb2f76e
Minor changes.
master/sdo_request.c
--- a/master/sdo_request.c	Tue Mar 04 11:37:51 2008 +0000
+++ b/master/sdo_request.c	Tue Mar 04 12:38:51 2008 +0000
@@ -31,10 +31,9 @@
  *
  *****************************************************************************/
 
-/**
-   \file
-   Canopen-over-EtherCAT Sdo request functions.
-*/
+/** \file
+ * Canopen-over-EtherCAT Sdo request functions.
+ */
 
 /*****************************************************************************/
 
@@ -50,7 +49,7 @@
 
 /** State type translation table.
  */
-const ec_sdo_request_state_t state_table[] = {
+static const ec_sdo_request_state_t state_translation_table[] = {
     EC_SDO_REQUEST_UNUSED,  // EC_REQUEST_INIT,
     EC_SDO_REQUEST_BUSY,    // EC_REQUEST_QUEUED,
     EC_SDO_REQUEST_BUSY,    // EC_REQUEST_BUSY,
@@ -180,7 +179,7 @@
 
 ec_sdo_request_state_t ecrt_sdo_request_state(const ec_sdo_request_t *req)
 {
-   return state_table[req->state];
+   return state_translation_table[req->state];
 }
 
 /*****************************************************************************/