mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
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:
1 parent
2fc08f40d2
commit
4a9137387c
1 file changed
+1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user