formatting

This commit is contained in:
2025-07-01 19:12:36 -07:00
parent 29ee50e291
commit f5732eb525

View File

@ -104,16 +104,16 @@ void HandleIntClockTick(uint32_t tick) {
// Pulse Out gate // Pulse Out gate
if (app.selected_pulse != Clock::PULSE_NONE) { if (app.selected_pulse != Clock::PULSE_NONE) {
int clock_index; int clock_index;
switch(app.selected_pulse) { switch (app.selected_pulse) {
case Clock::PULSE_PPQN_24: case Clock::PULSE_PPQN_24:
clock_index = 0; clock_index = 0;
break; break;
case Clock::PULSE_PPQN_4: case Clock::PULSE_PPQN_4:
clock_index = 4; clock_index = 4;
break; break;
case Clock::PULSE_PPQN_1: case Clock::PULSE_PPQN_1:
clock_index = 7; clock_index = 7;
break; break;
} }
const uint16_t pulse_high_ticks = clock_mod_pulses[clock_index]; const uint16_t pulse_high_ticks = clock_mod_pulses[clock_index];
@ -127,7 +127,6 @@ void HandleIntClockTick(uint32_t tick) {
} }
} }
if (!app.editing_param) { if (!app.editing_param) {
app.refresh_screen |= refresh; app.refresh_screen |= refresh;
} }