Commit 29e78fc3 authored by Eric Duminil's avatar Eric Duminil
Browse files

Could do

parent 43d358a3
Pipeline #5980 passed with stage
in 2 minutes and 26 seconds
......@@ -142,6 +142,7 @@ namespace led_effects {
}
void turnLEDsOnOff(int32_t display_led) {
//TODO: Could use strategy pattern with 2 different Effects classes.
config::display_led = display_led;
if (config::display_led) {
Serial.println(F("LEDs are on!"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment