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 35
35
36
36
Adafruit_USBD_MIDI::Adafruit_USBD_MIDI (void ) : _n_cables(1 ) {}
37
37
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; }
41
39
42
40
bool Adafruit_USBD_MIDI::begin (void ) {
43
41
if (!USBDevice.addInterface (*this ))
@@ -115,13 +113,11 @@ void Adafruit_USBD_MIDI::flush(void) {
115
113
// MIDI Library doen't use flush
116
114
}
117
115
118
- bool Adafruit_USBD_MIDI::send (const uint8_t packet[4 ])
119
- {
116
+ bool Adafruit_USBD_MIDI::send (const uint8_t packet[4 ]) {
120
117
return tud_midi_send (packet);
121
118
}
122
119
123
- bool Adafruit_USBD_MIDI::receive (uint8_t packet[4 ])
124
- {
120
+ bool Adafruit_USBD_MIDI::receive (uint8_t packet[4 ]) {
125
121
return tud_midi_receive (packet);
126
122
}
127
123
You can’t perform that action at this time.
0 commit comments