equal
deleted
inserted
replaced
96 * This will print the message in \a fmt with a prefixed |
96 * This will print the message in \a fmt with a prefixed |
97 * "EtherCAT <INDEX>-<POSITION>: ", where INDEX is the master index and |
97 * "EtherCAT <INDEX>-<POSITION>: ", where INDEX is the master index and |
98 * POSITION is the slave's ring position. |
98 * POSITION is the slave's ring position. |
99 * |
99 * |
100 * \param slave EtherCAT slave |
100 * \param slave EtherCAT slave |
|
101 * \param level Debug level. Master's debug level must be >= \a level for |
|
102 * output. |
101 * \param fmt format string (like in printf()) |
103 * \param fmt format string (like in printf()) |
102 * \param args arguments (optional) |
104 * \param args arguments (optional) |
103 */ |
105 */ |
104 #define EC_SLAVE_DBG(slave, level, fmt, args...) \ |
106 #define EC_SLAVE_DBG(slave, level, fmt, args...) \ |
105 do { \ |
107 do { \ |