marcel-licence / ML_SynthTools

ML_SynthTools
GNU General Public License v3.0
131 stars 20 forks source link

missing predefines in midi_via_ble.h #44

Closed nuigit closed 2 months ago

nuigit commented 5 months ago

Hello Marcel, I got some compiler errors while trying the ble-midi-module. I think the predefinitions in midi_via_ble.h got lost somehow. By adding the definitions like this it worked like a charm.

_#ifdef ML_SYNTH_INLINE_DECLARATION void midi_ble_setup(); void midi_ble_loop(); void Ble_rawMsg(uint8_t *msg); void Ble_NoteOn(uint8_t ch, uint8_t note, uint8_t vel); void Ble_NoteOff(uint8_t ch, uint8_t note); void Ble_ControlChange(uint8_t ch, uint8_t number, uint8_t value); void Ble_PitchBend(uint8_t ch, uint16_t bend); void Ble_RttMsg(uint8_t msg); void Ble_SongPos(uint16_t pos);

endif / ML_SYNTH_INLINE_DECLARATION /_

Best regards, Ron

marcel-licence commented 5 months ago

@nuigit Hello Ron, Thank you very much. I've added the missing definition. Please let me know if the solution works. Best regards, Marcel

nuigit commented 5 months ago

@marcel-licence Hello Marcel, it's working like a charm, thanks for adding Best regards, Ron