Add Gitea OTA firmware update, dual-slot partition layout, and Gitea Actions release workflow
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "rfid_manager.h"
|
||||
#include "storage_manager.h"
|
||||
#include "scryfall_client.h"
|
||||
#include "wifi_manager.h"
|
||||
#include "web_server.h"
|
||||
|
||||
static const char *TAG = "web";
|
||||
@@ -397,6 +398,7 @@ esp_err_t web_server_start(void)
|
||||
ESP_LOGE(TAG, "failed to create AP netif");
|
||||
return ESP_FAIL;
|
||||
}
|
||||
esp_netif_set_hostname(ap, "mtg-companion");
|
||||
}
|
||||
|
||||
esp_err_t ret = esp_wifi_stop(); /* safe even if not started */
|
||||
@@ -471,7 +473,7 @@ esp_err_t web_server_start(void)
|
||||
ESP_ERROR_CHECK(httpd_register_uri_handler(s_server, &URI_ART));
|
||||
ESP_ERROR_CHECK(httpd_register_uri_handler(s_server, &URI_UNBIND));
|
||||
|
||||
ESP_LOGI(TAG, "SoftAP '%s' at 192.168.4.1, web server ready", AP_SSID);
|
||||
ESP_LOGI(TAG, "Web server ready on all interfaces (Hotspot: 192.168.4.1, Wi-Fi: %s)", wifi_manager_get_ip());
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user