generated from Embedded_Projects/Landzo_K60Z_LwIP
18 lines
382 B
C
18 lines
382 B
C
#include "ui_helpers.h"
|
|
|
|
QueueHandle_t g_ui_standby_queue;
|
|
|
|
void ui_standby_task(void *pvParameters);
|
|
|
|
int ui_setup(void) {
|
|
g_ui_standby_queue = xQueueCreate(2, sizeof(ui_standby_queue_t));
|
|
if(g_ui_standby_queue == NULL) {
|
|
return -1;
|
|
}
|
|
|
|
if(xTaskCreate(ui_standby_task, "U_STBY", 256, NULL, 14, NULL) != pdPASS) {
|
|
return -2;
|
|
}
|
|
|
|
return 0;
|
|
} |