From f9d7a3720dccb469721e1c2301bc7b1cf4965be4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 19 Dec 2017 03:50:07 +0100 Subject: [PATCH] Fix faderport-16 touch on/off (fixes faders 9..16) --- libs/surfaces/faderport8/faderport8.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc index d439fb9378..d6928f6bb4 100644 --- a/libs/surfaces/faderport8/faderport8.cc +++ b/libs/surfaces/faderport8/faderport8.cc @@ -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;