{\r
xQueueHandle mbox;\r
\r
+ ( void ) size;\r
+ \r
mbox = xQueueCreate( archMESG_QUEUE_LENGTH, sizeof( void * ) );\r
\r
#if SYS_STATS\r
// Posts the "msg" to the mailbox.\r
void sys_mbox_post(sys_mbox_t mbox, void *data)\r
{\r
- while ( xQueueSendToBack(mbox, &data, portMAX_DELAY ) != pdTRUE );\r
+ while ( xQueueSendToBack(mbox, &data, portMAX_DELAY ) != pdTRUE ){}\r
}\r
\r
\r
}\r
else // block forever for a message.\r
{\r
- while( pdTRUE != xQueueReceive( mbox, &(*msg), portMAX_DELAY ) ); // time is arbitrary\r
+ while( pdTRUE != xQueueReceive( mbox, &(*msg), portMAX_DELAY ) ){} // time is arbitrary\r
EndTime = xTaskGetTickCount();\r
Elapsed = (EndTime - StartTime) * portTICK_RATE_MS;\r
\r
}\r
else // must block without a timeout\r
{\r
- while( xSemaphoreTake( sem, portMAX_DELAY ) != pdTRUE );\r
+ while( xSemaphoreTake( sem, portMAX_DELAY ) != pdTRUE ){}\r
EndTime = xTaskGetTickCount();\r
Elapsed = (EndTime - StartTime) * portTICK_RATE_MS;\r
\r
*/\r
void sys_assert( const char *msg )\r
{ \r
+ ( void ) msg;\r
/*FSL:only needed for debugging\r
printf(msg);\r
printf("\n\r");\r