Code snippet from usb_midi.h
void setHandleProgramChange(void (*fptr)(uint8_t channel, uint8_t program))
{
// type: 0xC0 ProgramChange
// usb_midi_handleProgramChange = fptr; //zzz
}
if "usb_midi_handleProgramChange = fptr; (above) is commented out, every thing works just fine. If its not commented out, teensy does not work, and is not visible to the programmer - button must be pressed.
Ubuntu 22.04.
Eclipse with Sloeber add-on.
SD card present.
Audio card present.
Many files (hence Eclipse).
I've tried everything I can think of, including banging my head on my PC.
Any suggestions/thoughts/etc can only help.
Regards, Mike
void setHandleProgramChange(void (*fptr)(uint8_t channel, uint8_t program))
{
// type: 0xC0 ProgramChange
// usb_midi_handleProgramChange = fptr; //zzz
}
if "usb_midi_handleProgramChange = fptr; (above) is commented out, every thing works just fine. If its not commented out, teensy does not work, and is not visible to the programmer - button must be pressed.
Ubuntu 22.04.
Eclipse with Sloeber add-on.
SD card present.
Audio card present.
Many files (hence Eclipse).
I've tried everything I can think of, including banging my head on my PC.
Any suggestions/thoughts/etc can only help.
Regards, Mike