Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tremby committed Feb 20, 2024
1 parent 3359206 commit 437dafa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ void StalkerEffect::TransientLEDMode::update() {
for (auto key_addr : KeyAddr::all()) {
uint8_t step = map_[key_addr.toInt()];

// If key is active (held), set its animation position to the start
if (live_keys[key_addr] != Key_Inactive) {
step = 0xff;
}
Expand Down

0 comments on commit 437dafa

Please sign in to comment.