Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel2
co2-ampel
Commits
29e78fc3
Commit
29e78fc3
authored
Mar 03, 2022
by
Eric Duminil
Browse files
Could do
parent
43d358a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/led_effects.cpp
View file @
29e78fc3
...
@@ -142,6 +142,7 @@ namespace led_effects {
...
@@ -142,6 +142,7 @@ namespace led_effects {
}
}
void
turnLEDsOnOff
(
int32_t
display_led
)
{
void
turnLEDsOnOff
(
int32_t
display_led
)
{
//TODO: Could use strategy pattern with 2 different Effects classes.
config
::
display_led
=
display_led
;
config
::
display_led
=
display_led
;
if
(
config
::
display_led
)
{
if
(
config
::
display_led
)
{
Serial
.
println
(
F
(
"LEDs are on!"
));
Serial
.
println
(
F
(
"LEDs are on!"
));
...
...
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