[ai] Many (memory) improvements, cleanup script, still problems

This commit is contained in:
2025-10-06 23:13:26 +02:00
parent 083dfd6e2a
commit abfe564891
7 changed files with 190 additions and 194 deletions

View File

@@ -1,24 +1,39 @@
#ifndef GLOBALS_H_
#define GLOBALS_H_
static const char* sys_dir = "system";
static const char* sleep_sound = "sleep.mp3";
static const char* startup_sound = "start.mp3";
static const char* index_file = "index.html";
static const char* style_file = "style.css";
static const char* script_file = "script.js";
static const char* mapping_file = "mapping.txt";
static const char* progress_file = "progress.txt";
static const char* config_file = "config.txt";
static const char* txt_html_charset = "text/html; charset=UTF-8";
static const char* txt_plain = "text/plain; charset=UTF-8";
static const char* hdr_cache_control_key = "Cache-Control";
static const char* hdr_cache_control_val = "no-store";
static const char* hdr_connection_key = "Connection";
static const char* hdr_connection_val = "close";
const String sys_dir = "system";
const String sleep_sound = "sleep.mp3";
const String startup_sound = "start.mp3";
const String mapping_file = "mapping.txt";
const String progress_file = "progress.txt";
/*
const long sleepMessageDelay = 28000;