diff -r 5371f3e5f6a1 -r a9143f82c7c5 master/globals.h --- a/master/globals.h Tue Jan 19 15:15:57 2010 +0100 +++ b/master/globals.h Tue Jan 19 17:57:46 2010 +0100 @@ -51,8 +51,11 @@ /** SDO injection timeout in microseconds. */ #define EC_SDO_INJECTION_TIMEOUT 10000 -/** time to send a byte in nanoseconds. */ -#define EC_BYTE_TRANSMITION_TIME 80 +/** Time to send a byte in nanoseconds. + * + * t_ns = 1 / (100 MBit/s / 8 bit/byte) = 80 ns/byte + */ +#define EC_BYTE_TRANSMISSION_TIME_NS 80 /** Number of state machine retries on datagram timeout. */ #define EC_FSM_RETRIES 3