Open lathoub opened 2 years ago
The number of different names for those macros is becoming quite high, it would be good to have some documentation about all the variants.
MACRO's are indeed dubieus (and not intuitive). I suggest to rethink the MIDI_CREATE_*
macro naming and provide additional (wiki) documentation. Let me think about it over the weekend
Sounds good. We should keep the existing ones for compatibility in this version, since almost every single sketch out there uses those macros as the entrypoint.
Ideally MIDI_CREATE_CUSTOM_INSTANCE
would be renamed to MIDI_CREATE_CUSTOMMIDI_INSTANCE
, in line with MIDI_CREATE_CUSTOMSERIAL_INSTANCE
. MIDI_CREATE_SPECIAL_INSTANCE
could then become MIDI_CREATE_CUSTOMSERIALANDMIDI_INSTANCE
Alternatively, only renamed MIDI_CREATE_SPECIAL_INSTANCE
to MIDI_CREATE_CUSTOMSERIALANDMIDI_INSTANCE
Either way: update the wiki as part of the PR/Release
Attached the updated wiki for the creation MACROs (not sure how to add this to this PR).
Should we go ahead with the renaming of the MACROs?