diff -r e7733f825982 -r f228415225b7 master/globals.h --- a/master/globals.h Thu Jan 21 11:09:31 2010 +0100 +++ b/master/globals.h Thu Jan 21 11:10:22 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