From f5732eb5252a1e2a34571c81a2653c8ebeb0acf4 Mon Sep 17 00:00:00 2001 From: Adam Wonak Date: Tue, 1 Jul 2025 19:12:36 -0700 Subject: [PATCH] formatting --- examples/Gravity/Gravity.ino | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/examples/Gravity/Gravity.ino b/examples/Gravity/Gravity.ino index 31e3f25..52b5ff2 100644 --- a/examples/Gravity/Gravity.ino +++ b/examples/Gravity/Gravity.ino @@ -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; }