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 f3bd145 commit c5cb5f0Copy full SHA for c5cb5f0
cores/esp32/Arduino.h
@@ -223,6 +223,13 @@ size_t getArduinoLoopTaskStackSize(void);
223
}
224
225
#define ESP32_USB_MIDI_DEFAULT_NAME "TinyUSB MIDI"
226
+/**
227
+* @brief Set the current device name
228
+* 1. Name set via constructor (if any)
229
+* 2. Name set via SET_USB_MIDI_DEVICE_NAME() macro (if defined)
230
+* 3. Default name "TinyUSB MIDI"
231
+* If device name is set as "", it will be ignored
232
+*/
233
#define SET_USB_MIDI_DEVICE_NAME(name) \
234
const char* getUSBMIDIDefaultDeviceName() { \
235
if (strlen(name) == 0) { \
0 commit comments