Add button handling with the possibility to revert to default settings

This commit is contained in:
feelfree69
2026-02-14 10:55:35 +01:00
parent 73c56ecfe5
commit 79c9d0deab
7 changed files with 157 additions and 90 deletions
-3
View File
@@ -14,9 +14,6 @@
#define SESSION_ID_LENGTH 12
#define SESSION_TIMEOUT 200
// Upload Firmware to 1M
#define FIRMWARE_UPLOAD_START 0x100000
// SPI FLASH MEMORY PAGE SIZE.
#define FLASHMEM_PAGE_SIZE 0x100
+2
View File
@@ -230,6 +230,8 @@ void send_basic_info(void)
byte_to_html(uip_ethaddr.addr[5]);
slen += strtox(outbuf + slen, "\",\"sw_ver\":\"");
slen += strtox(outbuf + slen, VERSION_SW);
slen += strtox(outbuf + slen, "\",\"build_date\":\"");
slen += strtox(outbuf + slen, BUILD_DATE);
slen += strtox(outbuf + slen, "\",\"hw_ver\":\"");
slen += strtox(outbuf + slen, machine.machine_name);
slen += strtox(outbuf + slen, "\",\"sfp_slot_0\":\"");