Skip to content

Commit

Permalink
Forced screens could now overwirte forced screens :)
Browse files Browse the repository at this point in the history
  • Loading branch information
foorschtbar committed Sep 4, 2023
1 parent c3eab8d commit ad60a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PixelIt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ void CreateFrames(JsonObject &json, int forceDuration)
matrix->setBrightness(0);
matrix->show();
}
else if (millis() >= forcedScreenIsActiveUntil)
else if (millis() >= forcedScreenIsActiveUntil || forceDuration > 0)
{
matrix->setBrightness(currentMatrixBrightness);

Expand Down

0 comments on commit ad60a1e

Please sign in to comment.