decreased recv and tx timeouts.
This commit is contained in:
parent
6195931bd4
commit
081c8ce098
|
@ -65,11 +65,11 @@
|
||||||
#define CLK_PER_BYTE 8
|
#define CLK_PER_BYTE 8
|
||||||
|
|
||||||
#ifndef RECV_SOFTIMEOUT
|
#ifndef RECV_SOFTIMEOUT
|
||||||
#define RECV_SOFTIMEOUT (32*128*CLK_PER_BYTE)
|
#define RECV_SOFTIMEOUT (2*128*CLK_PER_BYTE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CPL_TIMEOUT
|
#ifndef CPL_TIMEOUT
|
||||||
#define CPL_TIMEOUT (32*128*CLK_PER_BYTE)
|
#define CPL_TIMEOUT (2*128*CLK_PER_BYTE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define reg(x) (*(volatile uint32_t *)(x))
|
#define reg(x) (*(volatile uint32_t *)(x))
|
||||||
|
|
Loading…
Reference in a new issue