File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
libraries/Bluefruit52Lib/src/services Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,15 @@ err_t BLEMidi::begin(void)
160
160
161
161
return ERROR_NONE;
162
162
}
163
+
164
+ bool BLEMidi::beginTransmission (MIDI_NAMESPACE::MidiType type)
165
+ {
166
+ return true ;
167
+ };
168
+
169
+ void BLEMidi::endTransmission ()
170
+ {
171
+ }
163
172
164
173
/* ------------------------------------------------------------------*/
165
174
/* Callbacks
Original file line number Diff line number Diff line change 35
35
#ifndef BLEMIDI_H_
36
36
#define BLEMIDI_H_
37
37
38
+ #include < MIDI.h>
39
+
38
40
#include " bluefruit_common.h"
39
41
#include " utility/adafruit_fifo.h"
40
42
@@ -74,6 +76,9 @@ class BLEMidi: public BLEService, public Stream
74
76
void setWriteCallback (midi_write_cb_t fp);
75
77
void autoMIDIread (void * midi_obj);
76
78
79
+ bool beginTransmission (MIDI_NAMESPACE::MidiType type);
80
+ void endTransmission ();
81
+
77
82
// Stream API for MIDI Interface
78
83
virtual int read ( void );
79
84
virtual size_t write ( uint8_t b );
You can’t perform that action at this time.
0 commit comments