upleb.uk

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

summaryrefslogtreecommitdiff
path: root/main/config.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-18 19:20:35 +0530
committerYour Name <you@example.com>2026-05-18 19:20:35 +0530
commitc8c68dcc0dc4b897519105faec64994e820af0c2 (patch)
tree56fab9d5d576efaf80045b228b1d292a66049ab9 /main/config.h
parentf6369f5b87f5dab17a03315d82454fdcdd668ec9 (diff)
fix: build-verify tollgate_core component extraction
- Remove display/cvm/font deps from CMakeLists (not yet merged branches) - Add tollgate_platform.h include to session header - Add tollgate_core_session_set_platform declaration - Remove duplicate tollgate_core_dns_stop wrapper (dns module has own impl) - Update captive_portal.c to use tollgate_core_* API - Remove display/cvm calls from tollgate_main.c - Add tollgate_get_platform declaration to config.h - Fix nucula wallet.hpp submodule (save_proofs visibility) - Add tollgate_core include paths to test Makefile - Build passes, all unit tests pass (61/61)
Diffstat (limited to 'main/config.h')
-rw-r--r--main/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/config.h b/main/config.h
index fa4d95c..b8a3136 100644
--- a/main/config.h
+++ b/main/config.h
@@ -4,6 +4,7 @@
4#include "esp_err.h" 4#include "esp_err.h"
5#include "esp_wifi.h" 5#include "esp_wifi.h"
6#include "esp_netif.h" 6#include "esp_netif.h"
7#include "tollgate_platform.h"
7#include <stdbool.h> 8#include <stdbool.h>
8 9
9#include "lightning_payout.h" 10#include "lightning_payout.h"
@@ -72,4 +73,6 @@ const tollgate_config_t *tollgate_config_get(void);
72esp_err_t tollgate_config_get_wifi(wifi_config_t *wifi_config); 73esp_err_t tollgate_config_get_wifi(wifi_config_t *wifi_config);
73esp_err_t tollgate_config_get_next_wifi(wifi_config_t *wifi_config); 74esp_err_t tollgate_config_get_next_wifi(wifi_config_t *wifi_config);
74 75
76const tollgate_platform_t *tollgate_get_platform(void);
77
75#endif 78#endif