Phase 5: Wi-Fi manager w/ reconnect, Scryfall HTTPS client + cJSON caching to /spiffs on net_task (Core 0)
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include "rfid_manager.h"
|
||||
#include "display_manager.h"
|
||||
#include "ui_task.h"
|
||||
#include "wifi_manager.h"
|
||||
#include "scryfall_client.h"
|
||||
|
||||
static const char *TAG = "MAIN";
|
||||
|
||||
@@ -21,9 +23,13 @@ void app_main(void)
|
||||
ESP_ERROR_CHECK(rfid_manager_init());
|
||||
ESP_ERROR_CHECK(rfid_manager_start());
|
||||
|
||||
ESP_ERROR_CHECK(wifi_manager_init());
|
||||
ESP_ERROR_CHECK(wifi_manager_start());
|
||||
ESP_ERROR_CHECK(scryfall_client_start());
|
||||
|
||||
ESP_ERROR_CHECK(ui_task_start());
|
||||
|
||||
ESP_LOGI(TAG, "Boot sequence complete. Ready for Phase 5+.");
|
||||
ESP_LOGI(TAG, "Boot sequence complete. Ready for Phase 6+.");
|
||||
|
||||
while (1) {
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
|
||||
Reference in New Issue
Block a user