Skip to content

Commit 4c2f496

Browse files
authored
Fixed code duplication error
-- lines 186 & 188: appear duplicated -- lines 203 and 206 appear duplicated Reported by @anthem400 - Thx!
1 parent c82566c commit 4c2f496

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/BLEMIDI_Transport.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ class BLEMIDI_Transport
183183
public:
184184
// callbacks
185185
void (*_connectedCallback)() = nullptr;
186-
void (*_connectedCallbackDeviceName)(char *) = nullptr;
187186
void (*_disconnectedCallback)() = nullptr;
188187
void (*_connectedCallbackDeviceName)(char *) = nullptr;
189188

@@ -200,12 +199,6 @@ class BLEMIDI_Transport
200199
return *this;
201200
}
202201

203-
BLEMIDI_Transport &setHandleConnected(void (*fptr)(char*))
204-
{
205-
_connectedCallbackDeviceName= fptr;
206-
return *this;
207-
}
208-
209202
BLEMIDI_Transport &setHandleConnected(void (*fptr)(char*))
210203
{
211204
_connectedCallbackDeviceName= fptr;

0 commit comments

Comments
 (0)