mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-25 20:06:08 +00:00
Factory reset and splitted HTML into head, content and footer files to reduce memory footprint while parsing HTML templates
This commit is contained in:
@@ -42,9 +42,7 @@ for filename in os.listdir(webroot):
|
||||
dst.write(")==\"==\";\n")
|
||||
dst.write("const int ");
|
||||
dst.write(varname)
|
||||
dst.write("_LEN = sizeof(");
|
||||
dst.write(varname)
|
||||
dst.write(")/sizeof(");
|
||||
dst.write(varname)
|
||||
dst.write("[0]);");
|
||||
dst.write("_LEN = ");
|
||||
dst.write(str(len(content)))
|
||||
dst.write(";");
|
||||
|
||||
Reference in New Issue
Block a user