MrBlueXav / Dekrispator

Experimental Music synthesizer based on an STM32F4 Discovery board (ARM Cortex M4F from STM32 series) with USB MIDI Host function for interaction and automatic mode.
72 stars 22 forks source link

A wild pointer in usbh_MIDI.c #6

Closed markov94 closed 4 years ago

markov94 commented 4 years ago

It seems like a very important line 'MIDI_Handle = phost->pActiveClass->pData;' got commented at the end of line 97 of usbh_MIDI.c, which cause uninitiated variable warnings and a hard fault. Thank you for your work!

EDIT: Sorry, this issue is meant for Dekrispator_v2, my bad. Googled too fast ;)