Skip to content

Commit 9a7a252

Browse files
authored
Update BLEMIDI_Transport.h
Remove redundance declarations
1 parent 2a409fe commit 9a7a252

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/BLEMIDI_Transport.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ class BLEMIDI_Transport
184184
// callbacks
185185
void (*_connectedCallback)() = nullptr;
186186
void (*_connectedCallbackDeviceName)(char *) = nullptr;
187-
void (*_disconnectedCallback)() = nullptr;
188-
void (*_connectedCallbackDeviceName)(char *) = nullptr;
189187

190188
BLEMIDI_Transport &setName(const char *deviceName)
191189
{
@@ -200,12 +198,6 @@ class BLEMIDI_Transport
200198
return *this;
201199
}
202200

203-
BLEMIDI_Transport &setHandleConnected(void (*fptr)(char*))
204-
{
205-
_connectedCallbackDeviceName= fptr;
206-
return *this;
207-
}
208-
209201
BLEMIDI_Transport &setHandleConnected(void (*fptr)(char*))
210202
{
211203
_connectedCallbackDeviceName= fptr;

0 commit comments

Comments
 (0)