add timeout to queue_receive and update test code for it

This commit is contained in:
hathach
2013-02-01 12:39:39 +07:00
parent aab92b40d2
commit c24d461d19
4 changed files with 31 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ static volatile uint32_t osal_tick_current = 0;
//--------------------------------------------------------------------+
// IMPLEMENTATION
//--------------------------------------------------------------------+
volatile uint32_t osal_tick_get(void)
uint32_t osal_tick_get(void)
{
return osal_tick_current;
}