remove the include MIDI.h to prevent build error without MIDI Library installed
This commit is contained in:
1 parent
2cbb155037
commit
97d7ce7e33
3 files changed
+3
-8
No files matched your search
@@ -161,7 +161,7 @@ err_t BLEMidi::begin(void)
|
||||
return ERROR_NONE;
|
||||
}
|
||||
|
||||
bool BLEMidi::beginTransmission(MIDI_NAMESPACE::MidiType type)
|
||||
bool BLEMidi::beginTransmission(uint8_t type)
|
||||
{
|
||||
return true;
|
||||
};
|
||||
|
||||
@@ -35,8 +35,6 @@
|
||||
#ifndef BLEMIDI_H_
|
||||
#define BLEMIDI_H_
|
||||
|
||||
#include <MIDI.h>
|
||||
|
||||
#include "bluefruit_common.h"
|
||||
#include "utility/adafruit_fifo.h"
|
||||
|
||||
@@ -76,7 +74,7 @@ class BLEMidi: public BLEService, public Stream
|
||||
void setWriteCallback(midi_write_cb_t fp);
|
||||
void autoMIDIread(void* midi_obj);
|
||||
|
||||
bool beginTransmission(MIDI_NAMESPACE::MidiType type);
|
||||
bool beginTransmission(uint8_t type);
|
||||
void endTransmission();
|
||||
|
||||
// Stream API for MIDI Interface
|
||||
|
||||
Reference in new issue
Block a user