Skip to content

Commit 5af16d1

Browse files
authored
feat(usb): allow the MIDI constructor to define a device name
1 parent 74fa530 commit 5af16d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/USB/src/USBMIDI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ typedef struct {
1919

2020
class USBMIDI {
2121
public:
22-
USBMIDI(void);
22+
USBMIDI(String devDescName = "TinyUSB MIDI");
2323
void begin(void);
2424
void end(void);
2525

0 commit comments

Comments
 (0)