I am wishing to use an idle task (having set configUSE_IDLE_HOOK and defined vApplicationIdleHook) to inspect an input register, and put some data onto a queue if appropriate. This could cause a task switch (to the task checking the queue).
Is this OK in the Idle task?
The xQueueSend has a 0 ticks to wait, so should never block.
What you suggest is fine.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.