makes timer more consistent accros tx and nx
Also adds nx_port for user defines
This commit is contained in:
@@ -65,12 +65,11 @@
|
||||
/* Define various constants for the port. */
|
||||
|
||||
#ifndef NX_IP_PERIODIC_RATE
|
||||
#define NX_IP_PERIODIC_RATE \
|
||||
10 /* Default IP periodic rate of 1 second for \
|
||||
ports with 1ms timer interrupts. This \
|
||||
value may be defined instead at the \
|
||||
command line and this value will not be \
|
||||
used. */
|
||||
#ifdef TX_TIMER_TICKS_PER_SECOND
|
||||
#define NX_IP_PERIODIC_RATE TX_TIMER_TICKS_PER_SECOND
|
||||
#else
|
||||
#define NX_IP_PERIODIC_RATE 10
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Define macros that swap the endian for little endian ports. */
|
||||
|
||||
Reference in New Issue
Block a user