add timeout to queue_receive and update test code for it
This commit is contained in:
@@ -61,8 +61,8 @@
|
||||
enum
|
||||
{
|
||||
OSAL_TIMEOUT_NOTIMEOUT = 0, // for use within ISR, return immediately
|
||||
OSAL_TIMEOUT_WAIT_FOREVER = 1,
|
||||
OSAL_TIMEOUT_NORMAL = 10 // default is 10 msec
|
||||
OSAL_TIMEOUT_NORMAL = 10, // default is 10 msec
|
||||
OSAL_TIMEOUT_WAIT_FOREVER = 0xFFFF0000
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user