Skip to content

rename enums/typedefs to from "MIDI" to "MIDI_1" to support building alongside current tinyusb with "midi.h"#9

Merged
AmeNote-Michael merged 1 commit intomidi2-dev:mainfrom
subMatrix-LLC:confictResolveChanges
Mar 10, 2026
Merged

rename enums/typedefs to from "MIDI" to "MIDI_1" to support building alongside current tinyusb with "midi.h"#9
AmeNote-Michael merged 1 commit intomidi2-dev:mainfrom
subMatrix-LLC:confictResolveChanges

Conversation

@TrevorCash
Copy link
Copy Markdown
Contributor

while bringing the project alongside tinyusb and building in stm32CubeIDE. I had redefinition conflicts from the current midi.h in tinyusb.

I'm adding this PR in case its a usefull to facilitate easier transition.

@AmeNote-Michael
Copy link
Copy Markdown
Contributor

Thank you for the input. Sorry for delay in seeing this, I did not get notification for some reason.

I had figured that an integrator would be doing one or other and not try to include both at same time. But if transitioning from old midi.h to ump.h they would want to keep their use of compiler defines, not needing to replace all in their code.

Please help explain why you would want to use midi.h and ump.h at same time?

@AmeNote-Michael
Copy link
Copy Markdown
Contributor

@fdetro @starfishmod i am starting to realize that maybe we should be doing this change - I would love your guys opinions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants