Skip to content

Commit

Permalink
Refactor: Make parameter name suit purpose better
Browse files Browse the repository at this point in the history
  • Loading branch information
rhargreaves committed Jun 25, 2024
1 parent f12b504 commit c68c5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/midi_fm_sm.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "midi_fm_sm.h"
#include "midi_fm.h"

void midi_fm_sm_note_on(u8 chan, u8 pitch, u8 velocity)
void midi_fm_sm_note_on(u8 op, u8 pitch, u8 velocity)
{
synth_specialModePitch(
chan, midi_fm_pitchToOctave(pitch), midi_fm_pitchToFreqNumber(pitch));
op, midi_fm_pitchToOctave(pitch), midi_fm_pitchToFreqNumber(pitch));
}

void midi_fm_sm_pitch_bend(u8 chan, u16 bend)
Expand Down

0 comments on commit c68c5e8

Please sign in to comment.