From a1c3be6ed8d322558b60f14ded783aa1cbc55dc1 Mon Sep 17 00:00:00 2001 From: Thea Flowers Date: Sat, 10 Feb 2024 12:43:46 -0500 Subject: [PATCH] firmware: fix formatting --- firmware/src/gem_oscillator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/src/gem_oscillator.c b/firmware/src/gem_oscillator.c index d824aa0..7394e37 100644 --- a/firmware/src/gem_oscillator.c +++ b/firmware/src/gem_oscillator.c @@ -219,8 +219,7 @@ static void GemOscillator_update_pulse_width_(struct GemOscillator* osc, struct if (inputs.tweak_pulse_knob_code != UINT16_MAX) { pulse_width = inputs.tweak_pulse_knob_code; } - pulse_width += - (fix16_mul(F16(GEM_PULSE_WIDTH_MOD_MAX), fix16_mul(lfo_factor, inputs.lfo_amplitude))) >> 16; + pulse_width += (fix16_mul(F16(GEM_PULSE_WIDTH_MOD_MAX), fix16_mul(lfo_factor, inputs.lfo_amplitude))) >> 16; } // Up until this point, pulse width is defined as 0 -> 4095, however, the pulse width's