Phase 3: MFRC522 RFID subsystem on Core 0 with UID hex conversion, enable FreeRTOS SMP
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "esp_log.h"
|
||||
#include "spi_bus_manager.h"
|
||||
#include "storage_manager.h"
|
||||
#include "rfid_manager.h"
|
||||
|
||||
static const char *TAG = "MAIN";
|
||||
|
||||
@@ -14,7 +15,10 @@ void app_main(void)
|
||||
ESP_ERROR_CHECK(spi_bus_manager_init());
|
||||
ESP_ERROR_CHECK(storage_manager_init());
|
||||
|
||||
ESP_LOGI(TAG, "Boot sequence complete. Ready for Phase 3+.");
|
||||
ESP_ERROR_CHECK(rfid_manager_init());
|
||||
ESP_ERROR_CHECK(rfid_manager_start());
|
||||
|
||||
ESP_LOGI(TAG, "Boot sequence complete. Ready for Phase 4+.");
|
||||
|
||||
while (1) {
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
|
||||
Reference in New Issue
Block a user