Commit e559666b authored by Jacob Vosmaer's avatar Jacob Vosmaer

Clang-format

parent 1058c5d9
#include "pitch.h"
#include "clamp_add.h"
#include "dac.h"
#include "pitch_env.h"
#include "clamp_add.h"
#include "vibrato.h"
#include "voice.h"
......@@ -33,8 +33,8 @@ void pitch_update_clock(uint8_t delta) {
for_each_voice (v) {
uint16_t data = clamp_add(base_pitch[v], vibrato_detune());
data = clamp_add(data,
pitch_env_delta(v) * (float)dac_pitch_delta(5));
data = clamp_add(data, pitch_env_delta(v) *
(float)dac_pitch_delta(5));
data = clamp_add(data, bend_data);
dac_send(dac_command_set(v), data);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment