mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
tftp: decrease TFTP_TIMER_MSECS
This timeout is used to measure TFTP_TIMEOUT_MSECS fine enough. Calling tftp_tmr at a 50ms interval to handle a 1 seconds timeout produces way too much cpu load (and prevents sleep). Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
parent
e05a96550f
commit
2291f9a8fa
@ -82,7 +82,7 @@
|
|||||||
* TFTP timer cyclic interval
|
* TFTP timer cyclic interval
|
||||||
*/
|
*/
|
||||||
#if !defined TFTP_TIMER_MSECS || defined __DOXYGEN__
|
#if !defined TFTP_TIMER_MSECS || defined __DOXYGEN__
|
||||||
#define TFTP_TIMER_MSECS 50
|
#define TFTP_TIMER_MSECS (TFTP_TIMEOUT_MSECS / 10)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user