From 0bf98ee37b7605dd7b3b98912efac118a653bc82 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 12 Mar 2018 16:21:53 +0100 Subject: Remove midi_note_t enum, update gitignore --- src/midi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/midi.c') diff --git a/src/midi.c b/src/midi.c index 5513123..7ae8df4 100644 --- a/src/midi.c +++ b/src/midi.c @@ -59,7 +59,7 @@ int midi_set_channel(midi_message_t *pkt, unsigned channel) return 0; } -int midi_note_on(midi_message_t *pkt, unsigned channel, midi_note_t note, uint8_t velocity) +int midi_note_on(midi_message_t *pkt, unsigned channel, unsigned note, uint8_t velocity) { if (pkt == NULL) { return -1; @@ -84,7 +84,7 @@ int midi_note_on(midi_message_t *pkt, unsigned channel, midi_note_t note, uint8_ return 0; } -int midi_note_off(midi_message_t *pkt, unsigned channel, midi_note_t note, uint8_t velocity) +int midi_note_off(midi_message_t *pkt, unsigned channel, unsigned note, uint8_t velocity) { if (pkt == NULL) { return -1; -- cgit v1.2.1