clean up
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "esp_log.h"
|
||||
#include "spi_bus_manager.h"
|
||||
#include "storage_manager.h"
|
||||
#include "rfid_manager.h"
|
||||
#include "display_manager.h"
|
||||
@@ -17,7 +16,6 @@ void app_main(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "MTG RFID Companion booting...");
|
||||
|
||||
ESP_ERROR_CHECK(spi_bus_manager_init());
|
||||
ESP_ERROR_CHECK(storage_manager_init());
|
||||
|
||||
/* RFID comes BEFORE the display: the reader lives on its own SPI3 bus
|
||||
@@ -49,9 +47,6 @@ void app_main(void)
|
||||
|
||||
ESP_ERROR_CHECK(ui_task_start());
|
||||
|
||||
ESP_LOGI(TAG, "Boot sequence complete.");
|
||||
|
||||
while (1) {
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
}
|
||||
ESP_LOGI(TAG, "Boot sequence complete. Main task exiting to reclaim stack.");
|
||||
vTaskDelete(NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user