Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
ewowi committed Jan 23, 2025
1 parent c5a6b42 commit 2ee122b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/App/LedModEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,20 +529,6 @@ inline uint16_t getRGBWsize(uint16_t nleds){
}
}

//process change initiated outside library (ESK)
if (processEffectNr != UINT16_MAX) {
Variable variable = Variable("layers","effect");
variable.setValue(processEffectNr, 0);
variable.setValue(processEffectNr, 0); //twice to init var["value"]correctly - workaround !!!
processEffectNr = UINT16_MAX;
}
if (processProjectionNr != UINT16_MAX) {
Variable variable = Variable("layers","projection");
variable.setValue(processProjectionNr, 0);
variable.setValue(processProjectionNr, 0); //twice to init var["value"]correctly - workaround !!!
processProjectionNr = UINT16_MAX;
}

} //loop

void LedModEffects::initEffect(LedsLayer &leds, uint8_t rowNr) {
Expand Down

0 comments on commit 2ee122b

Please sign in to comment.