Fix faderport-16 touch on/off (fixes faders 9..16)

This commit is contained in:
Robin Gareus 2017-12-19 03:50:07 +01:00
parent 34ae70a621
commit f9d7a3720d

View File

@ -605,7 +605,7 @@ FaderPort8::note_on_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb)
debug_2byte_msg ("ON", tb->note_number, tb->velocity);
/* fader touch */
#ifdef FaderPort16
#ifdef FADERPORT16
static const uint8_t touch_id_uppper = 0x77;
#else
static const uint8_t touch_id_uppper = 0x6f;
@ -649,7 +649,7 @@ FaderPort8::note_off_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb)
{
debug_2byte_msg ("OF", tb->note_number, tb->velocity);
#ifdef FaderPort16
#ifdef FADERPORT16
static const uint8_t touch_id_uppper = 0x77;
#else
static const uint8_t touch_id_uppper = 0x6f;