corrects time tick settings so that a timer tick happens every 10ms
This commit is contained in:
@@ -134,7 +134,8 @@ void thread_0_entry(ULONG thread_input) {
|
||||
|
||||
NX_PARAMETER_NOT_USED(thread_input);
|
||||
|
||||
tx_thread_sleep(NX_IP_PERIODIC_RATE);
|
||||
/* Wait 1 second for the IP thread to finish its initilization. */
|
||||
tx_thread_sleep(/* NX_IP_PERIODIC_RATE */ 10);
|
||||
|
||||
/* set the TCP server addresses. */
|
||||
server_ipv4_address.nxd_ip_version = NX_IP_VERSION_V4;
|
||||
@@ -234,7 +235,7 @@ void thread_1_entry(ULONG thread_input) {
|
||||
NX_PARAMETER_NOT_USED(thread_input);
|
||||
|
||||
/* Wait 1 second for the IP thread to finish its initilization. */
|
||||
tx_thread_sleep(NX_IP_PERIODIC_RATE);
|
||||
tx_thread_sleep(/* NX_IP_PERIODIC_RATE */ 10);
|
||||
|
||||
/* Ensure the IP instance has been initialized. */
|
||||
status = nx_ip_status_check(&ip_1, NX_IP_INITIALIZE_DONE, &actual_status, NX_IP_PERIODIC_RATE);
|
||||
|
||||
Reference in New Issue
Block a user