Vendorize uClock #10

Merged
awonak merged 9 commits from vendorize-uclock into main 2025-07-02 02:45:40 +00:00
13 changed files with 947 additions and 22 deletions
Showing only changes of commit f5732eb525 - Show all commits

View File

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