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
400e3c29
Commit
400e3c29
authored
Feb 15, 2022
by
Eric Duminil
Browse files
Bit too large
parent
9fd8f7d8
Pipeline
#5823
passed with stage
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_server.cpp
View file @
400e3c29
...
...
@@ -193,9 +193,9 @@ namespace web_server {
ss
-=
mm
*
60
;
//NOTE: Splitting in multiple parts in order to use less RAM
char
content
[
2
0
00
];
// Update if needed
// Current size (with
out
Lorawan):
// INFO - Header size : 182
2
- Body size :
1953
- Script size : 194
3
char
content
[
2
2
00
];
// Update if needed
// Current size (with Lorawan):
// INFO - Header size : 182
5
- Body size :
2005
- Script size : 194
7
//FIXME: Body too long with Lorawan!
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