Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
ac8ed954
Commit
ac8ed954
authored
Feb 17, 2022
by
Eric Duminil
Browse files
300 bytes saved
parent
168ea9b6
Pipeline
#5861
passed with stage
in 2 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_server.cpp
View file @
ac8ed954
...
...
@@ -198,9 +198,9 @@ namespace web_server {
ss
-=
mm
*
60
;
//NOTE: Splitting in multiple parts in order to use less RAM. Higher than 2000 apparently crashes the ESP8266
char
content
[
20
00
];
// Current size (with Lorawan):
// INFO - Header size : 1
685
- Body1 size :
843
- Body2 size : 1
395
- Script size : 1
918
char
content
[
17
00
];
// Current size (with Lorawan
, timesteps and long thing name
):
// INFO - Header size : 1
269
- Body1 size :
1215
- Body2 size : 1
598
- Script size : 1
485
snprintf_P
(
content
,
sizeof
(
content
),
header_template
,
sensor
::
co2
,
config
::
ampel_name
(),
wifi
::
local_ip
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment