equal
deleted
inserted
replaced
198 |
198 |
199 /** Master devices. |
199 /** Master devices. |
200 */ |
200 */ |
201 typedef enum { |
201 typedef enum { |
202 EC_DEVICE_MAIN, /**< Main device. */ |
202 EC_DEVICE_MAIN, /**< Main device. */ |
203 EC_DEVICE_BACKUP, /**< Backup device */ |
203 EC_DEVICE_BACKUP /**< Backup device */ |
204 EC_NUM_DEVICES /**< Number of devices. */ |
|
205 } ec_device_index_t; |
204 } ec_device_index_t; |
206 |
205 |
207 extern const char *ec_device_names[EC_NUM_DEVICES]; |
206 extern const char *ec_device_names[2]; // only main and backup! |
208 |
207 |
209 /*****************************************************************************/ |
208 /*****************************************************************************/ |
210 |
209 |
211 /** Convenience macro for printing EtherCAT-specific information to syslog. |
210 /** Convenience macro for printing EtherCAT-specific information to syslog. |
212 * |
211 * |