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 75d04db commit b3fbce7Copy full SHA for b3fbce7
cores/esp32/Arduino.h
@@ -222,6 +222,16 @@ size_t getArduinoLoopTaskStackSize(void);
222
return sz; \
223
}
224
225
+#define SET_USB_MIDI_DEVICE_NAME(name) \
226
+ namespace { \
227
+ static const char* _usb_midi_default_name = name; \
228
+ static struct _USBMIDINameSetter { \
229
+ _USBMIDINameSetter() { \
230
+ USBMIDI::setDefaultName(_usb_midi_default_name); \
231
+ } \
232
+ } _usb_midi_name_setter; \
233
+ }
234
+
235
bool shouldPrintChipDebugReport(void);
236
#define ENABLE_CHIP_DEBUG_REPORT \
237
bool shouldPrintChipDebugReport(void) { \
0 commit comments