Add Gitea OTA firmware update, dual-slot partition layout, and Gitea Actions release workflow
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "wifi_manager.h"
|
||||
#include "scryfall_client.h"
|
||||
#include "web_server.h"
|
||||
#include "ota_manager.h"
|
||||
|
||||
static const char *TAG = "MAIN";
|
||||
|
||||
@@ -16,6 +17,9 @@ void app_main(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "MTG RFID Companion booting...");
|
||||
|
||||
/* Validate OTA partition & cancel rollback if just updated */
|
||||
ota_manager_init();
|
||||
|
||||
ESP_ERROR_CHECK(storage_manager_init());
|
||||
|
||||
/* RFID comes BEFORE the display: the reader lives on its own SPI3 bus
|
||||
|
||||
Reference in New Issue
Block a user