I have the following code:
void vApplicationIdleHook( void )
unsigned short temp;
unsigned short queuemessage;
if (xQueueReceive(xQueueExtEepromApl2Idle, &queuemessage, 1))
temp = 2; /* for test */
temp = 1; /* for test */
The call of the function "xQueueReceive" causes an "Bus Error Data Fetch" - exception.
If i use the same in any other Task, everything seams to be fine.
Is it not possible to use the queues inside the vApplicationIdleHook() ?
Very you very much in advance