Commit 7c73ffe5 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Complete rename

parent 02893776
......@@ -110,7 +110,7 @@ main(void)
prev_clock = clock;
uint8_t status, data1, data2;
if (midi_read_2(&status, &data1, &data2) == MIDI_READ_NO_DATA) {
if (midi_read(&status, &data1, &data2) == MIDI_READ_NO_DATA) {
continue;
}
......
......@@ -135,7 +135,7 @@ midi_load(uint8_t *status, uint8_t *data1, uint8_t *data2)
}
uint8_t
midi_read_2(uint8_t *status, uint8_t *data1, uint8_t *data2)
midi_read(uint8_t *status, uint8_t *data1, uint8_t *data2)
{
uint16_t uart_data = uart_read();
if (uart_data >> 8) {
......
......@@ -26,6 +26,6 @@ enum {
MIDI_READ_NO_DATA,
};
uint8_t midi_read_2(uint8_t *status, uint8_t *data1, uint8_t *data2);
uint8_t midi_read(uint8_t *status, uint8_t *data1, uint8_t *data2);
#endif
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