Some modifications to increase stability

This commit is contained in:
Gunnar Skjold
2020-05-08 22:58:16 +02:00
parent c3c0ca0a1b
commit 953f2d4110
8 changed files with 91 additions and 60 deletions

View File

@@ -39,4 +39,12 @@ for filename in os.listdir(webroot):
dst.write(varname)
dst.write("[] PROGMEM = R\"==\"==(")
dst.write(content)
dst.write(")==\"==\";\n")
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]);");