upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-19 03:34:12 +0530
committerYour Name <you@example.com>2026-05-19 03:34:12 +0530
commitb38798277ad5d485a49752744e938e4db8032db5 (patch)
treec833cc35683b2d986771616a6fb57120b941cfca /main
parent1232a43f17cd4c1d994b2d652060d4fc9e1053ea (diff)
wip: disable display for stability testing — board survives 2+ min without it
Diffstat (limited to 'main')
-rw-r--r--main/tollgate_main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/main/tollgate_main.c b/main/tollgate_main.c
index 228d8ef..e81ba7b 100644
--- a/main/tollgate_main.c
+++ b/main/tollgate_main.c
@@ -178,11 +178,6 @@ static void start_services(void)
178 s_services_running = true; 178 s_services_running = true;
179 if (s_services_mutex) xSemaphoreGive(s_services_mutex); 179 if (s_services_mutex) xSemaphoreGive(s_services_mutex);
180 ESP_LOGI(TAG, "=== TollGate services started ==="); 180 ESP_LOGI(TAG, "=== TollGate services started ===");
181
182 display_set_state(DISPLAY_READY);
183 char portal_url[128];
184 snprintf(portal_url, sizeof(portal_url), "http://%s/", cfg->ap_ip_str);
185 display_update(cfg->ap_ssid, 0, 0, portal_url);
186} 181}
187 182
188static void stop_services(void) 183static void stop_services(void)
@@ -264,8 +259,8 @@ void app_main(void)
264{ 259{
265 ESP_LOGI(TAG, "=== TollGate ESP32 Starting ==="); 260 ESP_LOGI(TAG, "=== TollGate ESP32 Starting ===");
266 261
267 display_init(); 262 ESP_LOGW(TAG, "Display disabled for stability testing");
268 display_set_state(DISPLAY_BOOT); 263
269 264
270 esp_err_t ret = nvs_flash_init(); 265 esp_err_t ret = nvs_flash_init();
271 if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) { 266 if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {