FreeRTOS - Design Patterns for RTOS
Identify the error in this shutdown sequence code snippet:
void ShutdownTask(void *pvParameters) {
vTaskDelete(NULL);
// Cleanup code here
}