master/globals.h
branchstable-1.5
changeset 2453 d461b1f07296
parent 2449 5db725cc40f9
equal deleted inserted replaced
2452:abc1d1caead7 2453:d461b1f07296
   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  *