refactor when we recalculate pulses.

This commit is contained in:
2025-09-01 10:08:16 -07:00
parent b39f7a0bbc
commit 1b2629de17
2 changed files with 12 additions and 2 deletions

View File

@ -92,7 +92,9 @@ void loop() {
// Process clock pulses.
for (int i = 0; i < Gravity::OUTPUT_COUNT; i++) {
app.channel[i].recalculatePulses();
if (app.channel[i].isCvModActive()) {
app.channel[i].recalculatePulses();
}
}
// Check for dirty state eligible to be saved.