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 0d4dce2 commit f3bd145Copy full SHA for f3bd145
libraries/USB/src/USBMIDI.cpp
@@ -68,6 +68,14 @@ void USBMIDI::setDeviceName(const char* name) {
68
}
69
70
71
+/**
72
+* @brief Get the current device name
73
+* @return The device name in order of precedence:
74
+* 1. Name set via constructor (if any)
75
+* 2. Name set via SET_USB_MIDI_DEVICE_NAME() macro (if defined)
76
+* 3. Default name "TinyUSB MIDI"
77
+* If device name is set as "", it will be ignored
78
+*/
79
USBMIDI::USBMIDI(const char* name) {
80
if (!tinyusb_midi_interface_enabled) {
81
setDeviceName(name);
0 commit comments