File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 3535
3636Adafruit_USBD_MIDI::Adafruit_USBD_MIDI (void ) : _n_cables(1 ) {}
3737
38- void Adafruit_USBD_MIDI::setCables (uint8_t n_cables) {
39- _n_cables = n_cables;
40- }
38+ void Adafruit_USBD_MIDI::setCables (uint8_t n_cables) { _n_cables = n_cables; }
4139
4240bool Adafruit_USBD_MIDI::begin (void ) {
4341 if (!USBDevice.addInterface (*this ))
@@ -115,13 +113,11 @@ void Adafruit_USBD_MIDI::flush(void) {
115113 // MIDI Library doen't use flush
116114}
117115
118- bool Adafruit_USBD_MIDI::send (const uint8_t packet[4 ])
119- {
116+ bool Adafruit_USBD_MIDI::send (const uint8_t packet[4 ]) {
120117 return tud_midi_send (packet);
121118}
122119
123- bool Adafruit_USBD_MIDI::receive (uint8_t packet[4 ])
124- {
120+ bool Adafruit_USBD_MIDI::receive (uint8_t packet[4 ]) {
125121 return tud_midi_receive (packet);
126122}
127123
You can’t perform that action at this time.
0 commit comments