summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2024-08-21 04:37:31 +0300
committerMarin Ivanov <[email protected]>2024-08-21 04:37:31 +0300
commite259a1465e5417220e85dd7b6136d15135f4d95a (patch)
tree2e89a72a8009e9cabd1d53582c818cc80ad8a9e8 /build.py
parent2c417fb8398eda685c5dd1f7b1bec811757dc562 (diff)
bug fixes
Diffstat (limited to 'build.py')
-rw-r--r--build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.py b/build.py
index e0b0134..9c9531a 100644
--- a/build.py
+++ b/build.py
@@ -21,7 +21,8 @@ print(f"""
#include <avr/pgmspace.h>
#include "webif-fs.h"
-const char index_html_data[] PROGMEM = {{ {out} }};
+static const char index_html[] PROGMEM = {{ {out} }};
+PGM_P index_html_data = index_html;
uint16_t index_html_size = {len(data)};
""")