Skip to content

Commit

Permalink
Correct Splish's lights
Browse files Browse the repository at this point in the history
  • Loading branch information
mhetrick committed Oct 15, 2024
1 parent 8a7eca1 commit 0a78828
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Splish.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@ struct Splish : Module {
outputs[i*2 + 1].setVoltage(diffRects[i].getNegativeOutput());
}

for (int i = 0; i < NUM_LIGHTS; i++)
{
lights[i].setBrightness(inputs[i].getVoltage());
}
lights[0].setBrightness(outputs[ONE_POS_OUT].getVoltage() * 0.2f);
lights[1].setBrightness(outputs[TWO_POS_OUT].getVoltage() * 0.2f);
lights[2].setBrightness(outputs[THREE_POS_OUT].getVoltage() * 0.2f);
}
};

Expand Down

0 comments on commit 0a78828

Please sign in to comment.