Skip to content

Commit

Permalink
Revert "Hack to restart USB midi after failure"
Browse files Browse the repository at this point in the history
This reverts commit d4610c0.
  • Loading branch information
beserge committed Nov 29, 2023
1 parent d4610c0 commit 697934c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/hid/usb_midi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ void MidiUsbTransport::Impl::Tx(uint8_t* buffer, size_t size)
} while(should_retry);

tx_ptr_ = 0;

if(result == UsbHandle::Result::ERR)
{
Init(config_);
}
}

void MidiUsbTransport::Impl::UsbToMidi(uint8_t* buffer, uint8_t length)
Expand Down

0 comments on commit 697934c

Please sign in to comment.