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)
160160
161161 return ERROR_NONE;
162162}
163+
164+ bool BLEMidi::beginTransmission (MIDI_NAMESPACE::MidiType type)
165+ {
166+ return true ;
167+ };
168+
169+ void BLEMidi::endTransmission ()
170+ {
171+ }
163172
164173/* ------------------------------------------------------------------*/
165174/* Callbacks
Original file line number Diff line number Diff line change 3535#ifndef BLEMIDI_H_
3636#define BLEMIDI_H_
3737
38+ #include < MIDI.h>
39+
3840#include " bluefruit_common.h"
3941#include " utility/adafruit_fifo.h"
4042
@@ -74,6 +76,9 @@ class BLEMidi: public BLEService, public Stream
7476 void setWriteCallback (midi_write_cb_t fp);
7577 void autoMIDIread (void * midi_obj);
7678
79+ bool beginTransmission (MIDI_NAMESPACE::MidiType type);
80+ void endTransmission ();
81+
7782 // Stream API for MIDI Interface
7883 virtual int read ( void );
7984 virtual size_t write ( uint8_t b );
You can’t perform that action at this time.
0 commit comments