Open sonoclock110 opened 4 months ago
If NX_BSD_TIMEOUT_PROCESS_IN_TIMER is defined the if statement https://github.com/eclipse-threadx/netxduo/blob/5ce9823f58d08f1f1dc9ccd1c6ea84b32f68e731/addons/BSD/nxd_bsd.c#L379 should inside the macro https://github.com/eclipse-threadx/netxduo/blob/5ce9823f58d08f1f1dc9ccd1c6ea84b32f68e731/addons/BSD/nxd_bsd.c#L386
NX_BSD_TIMEOUT_PROCESS_IN_TIMER
At the moment the function nx_bsd_initialize(..) returns always an error if NX_BSD_TIMEOUT_PROCESS_IN_TIMER is defined and nx_bsd_initialize(..) is called with NULL for argument bsd_thread_stack_area and bsd_thread_stack_size. https://github.com/eclipse-threadx/netxduo/blob/5ce9823f58d08f1f1dc9ccd1c6ea84b32f68e731/addons/BSD/nxd_bsd.h#L122-L125
nx_bsd_initialize(..)
bsd_thread_stack_area
bsd_thread_stack_size
If
NX_BSD_TIMEOUT_PROCESS_IN_TIMER
is defined the if statement https://github.com/eclipse-threadx/netxduo/blob/5ce9823f58d08f1f1dc9ccd1c6ea84b32f68e731/addons/BSD/nxd_bsd.c#L379 should inside the macro https://github.com/eclipse-threadx/netxduo/blob/5ce9823f58d08f1f1dc9ccd1c6ea84b32f68e731/addons/BSD/nxd_bsd.c#L386At the moment the function
nx_bsd_initialize(..)
returns always an error ifNX_BSD_TIMEOUT_PROCESS_IN_TIMER
is defined andnx_bsd_initialize(..)
is called with NULL for argumentbsd_thread_stack_area
andbsd_thread_stack_size
. https://github.com/eclipse-threadx/netxduo/blob/5ce9823f58d08f1f1dc9ccd1c6ea84b32f68e731/addons/BSD/nxd_bsd.h#L122-L125