test: define session_timeout in the host harness

test_port_tables and test_page_json link httpd/page_impl.c unmodified,
which now references session_timeout. Define it in support.c next to
the other firmware globals so the tests link again on current main.
This commit is contained in:
gnacho committed 2026-09-25 23:22:35 +02:00
1 parent 2fc08f40d2
commit 4a9137387c
1 file changed
+1
+1
View File
@@ -27,6 +27,7 @@ uint8_t cmd_available;
uint8_t err_status; uint8_t err_status;
uint8_t cmd_history[CMD_HISTORY_SIZE]; uint8_t cmd_history[CMD_HISTORY_SIZE];
uint16_t cmd_history_ptr; uint16_t cmd_history_ptr;
__xdata uint16_t session_timeout = 200; /* httpd global, referenced by page_impl.c */
/* editor-internal read pointer (defined in cmd_editor.c, external linkage) */ /* editor-internal read pointer (defined in cmd_editor.c, external linkage) */
extern __xdata uint8_t l; extern __xdata uint8_t l;