FreeRTOS - Task Creation and Management
What will be the output of the following code snippet?
TaskHandle_t xHandle = NULL;
BaseType_t result = xTaskCreate(
vTaskFunction, "Task1", 1000, NULL, 2, &xHandle);
if(result == pdPASS) {
printf("Task created\n");
} else {
printf("Task creation failed\n");
}