fix(freertos) Application thread function returns void.
Don't try to cast it to void*. Avoid build warning. Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>
This commit is contained in:
committed by
Gabor Kiss-Vamosi
parent
625cedcd5a
commit
141c70dba1
@@ -34,10 +34,9 @@ extern "C" {
|
||||
**********************/
|
||||
|
||||
typedef struct {
|
||||
void * (*pvStartRoutine)(void *); /**< Application thread function. */
|
||||
void (*pvStartRoutine)(void *); /**< Application thread function. */
|
||||
void * xTaskArg; /**< Arguments for application thread function. */
|
||||
TaskHandle_t xTaskHandle; /**< FreeRTOS task handle. */
|
||||
void * xReturn; /**< Return value of pvStartRoutine. */
|
||||
} lv_thread_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user