diff options
| author | hathach <[email protected]> | 2021-08-02 18:58:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-02 18:58:27 +0700 |
| commit | 794bbd7177dd5f3cab35eadf9a9268eddf61736f (patch) | |
| tree | f44c483166c1fe7dfbf83e9dcfc2b182d6dbf5ca /src/class/midi | |
| parent | 98e4ba6a12f8ce2b060635dc01f68676b047ce25 (diff) | |
fix warning
Diffstat (limited to 'src/class/midi')
| -rw-r--r-- | src/class/midi/midi_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c index 9d9619132..eb85b668c 100644 --- a/src/class/midi/midi_device.c +++ b/src/class/midi/midi_device.c @@ -123,7 +123,7 @@ uint32_t tud_midi_n_available(uint8_t itf, uint8_t cable_num) { (void) cable_num; - midid_interface_t const* midi = &_midid_itf[itf]; + midid_interface_t* midi = &_midid_itf[itf]; midid_stream_t const* stream = &midi->stream_read; // when using with packet API stream total & index are both zero |
