We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a409fe commit 9a7a252Copy full SHA for 9a7a252
src/BLEMIDI_Transport.h
@@ -184,8 +184,6 @@ class BLEMIDI_Transport
184
// callbacks
185
void (*_connectedCallback)() = nullptr;
186
void (*_connectedCallbackDeviceName)(char *) = nullptr;
187
- void (*_disconnectedCallback)() = nullptr;
188
- void (*_connectedCallbackDeviceName)(char *) = nullptr;
189
190
BLEMIDI_Transport &setName(const char *deviceName)
191
{
@@ -200,12 +198,6 @@ class BLEMIDI_Transport
200
198
return *this;
201
199
}
202
203
- BLEMIDI_Transport &setHandleConnected(void (*fptr)(char*))
204
- {
205
- _connectedCallbackDeviceName= fptr;
206
- return *this;
207
- }
208
-
209
BLEMIDI_Transport &setHandleConnected(void (*fptr)(char*))
210
211
_connectedCallbackDeviceName= fptr;
0 commit comments