Merge remote-tracking branch 'origin/main' into feat/session-timeout-config

# Conflicts:
#	httpd/httpd.c
This commit is contained in:
gnacho committed 2026-09-16 18:08:21 +02:00
commit 6be1871bb4
5 files changed
+10 -2

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ name: Build firmware
on:
push:
branches: ['**']
pull_request:
jobs:
build:
+1 -1
View File
@@ -344,7 +344,7 @@ __xdata uint8_t *scan_header(__xdata uint8_t * __xdata p)
read_reg_timer(&now);
if (session) {
if (session && session_id[0]) {
if (now - last_session_use > session_timeout) {
dbg_string("Session expired\n");
} else {
+1
View File
@@ -1182,6 +1182,7 @@ __code const struct machine machine = {
0
},
},
};
#elif defined MACHINE_POE_2G080110GS
__code const struct machine machine = {
.machine_name = "MokerLink POE-2G080110GS",
+1
View File
@@ -44,6 +44,7 @@
// #define MACHINE_SWTG024AS_V2_0
// #define MACHINE_FG_4GT_2SX_V2_0
// #define MACHINE_FG_8GT_1SX
// #define MACHINE_LIANGUO_HYWS_SGT0108S
// #define MACHINE_POE_2G080110GS
typedef struct {
+6 -1
View File
@@ -221,7 +221,9 @@ void flash_read_jedecid(void)
*/
void flash_read_bulk(__xdata uint8_t *dst)
{
short status;
if (!flash_region.len)
return;
flash_configure_sio();
while (flash_read_status() & STATUS_REG_BUSY_MASK);
flash_configure_mmio();
@@ -258,6 +260,9 @@ void flash_read_bulk(__xdata uint8_t *dst)
void flash_read_security(void)
{
if (!flash_region.len)
return;
flash_configure_sio();
while (flash_read_status() & STATUS_REG_BUSY_MASK);