mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 14:11:02 +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
|
||||
*/
|
||||
#if !defined TFTP_TIMER_MSECS || defined __DOXYGEN__
|
||||
#define TFTP_TIMER_MSECS 50
|
||||
#define TFTP_TIMER_MSECS (TFTP_TIMEOUT_MSECS / 10)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user