Minor changes.
--- 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];
}
/*****************************************************************************/