From b30cd5f657709ba863757605bab477a8d1568e43 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 31 Jul 2018 15:23:49 +0200 Subject: [PATCH] Fix Faderport8/16 support in the wake of FP2 --- libs/surfaces/faderport8/actions.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/faderport8/actions.cc b/libs/surfaces/faderport8/actions.cc index 62282ec531..939118ed4f 100644 --- a/libs/surfaces/faderport8/actions.cc +++ b/libs/surfaces/faderport8/actions.cc @@ -113,8 +113,10 @@ FaderPort8::setup_actions () BindMethod (BtnLink, button_link); BindMethod (BtnLock, button_lock); - BindMethod (BtnChanLock, button_chanlock); //FP2 only - BindMethod (BtnFlip, button_flip); //FP2 only +#ifdef FADERPORT2 + BindMethod (BtnChanLock, button_chanlock); + BindMethod (BtnFlip, button_flip); +#endif // user-specific for (FP8Controls::UserButtonMap::const_iterator i = _ctrls.user_buttons ().begin ();