From 0e69a4810232b80b8321306d0e78f5e2a024f633 Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Tue, 18 May 2021 14:41:34 +1000 Subject: [PATCH] waveform.c: Clean up trailing whitespace --- waveform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waveform.c b/waveform.c index 57bf076..0257d5c 100644 --- a/waveform.c +++ b/waveform.c @@ -36,7 +36,7 @@ /*! * Number of fractional bits for `period` and `period_remain`. * This allows tuned notes even in lower sampling frequencies. - * The integer part (12 bits) is wide enough to render a 20Hz + * The integer part (12 bits) is wide enough to render a 20Hz * note on the higher 48kHz sampling frequency. */ #define PERIOD_FP_SCALE (4) @@ -110,7 +110,7 @@ int8_t voice_wf_next(struct voice_wf_gen_t* const wf_gen) { /* Compute frequency period (sawtooth wave) */ static uint16_t voice_wf_calc_sawtooth_period(uint16_t freq) { - /* Use 16-bit 12.4 fixed point */ + /* Use 16-bit 12.4 fixed point */ return (((uint32_t)(synth_freq << PERIOD_FP_SCALE)) / freq); }