From f7968f15dd65b21af284b86495f37cc3bc97b829 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 24 Aug 2019 00:01:06 +0200 Subject: [PATCH] LCXL: Fix uninitialized pointer function See also 026b74e25d3. FilterFunction must point to a valid function. --- libs/surfaces/launch_control_xl/launch_control_xl.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.cc b/libs/surfaces/launch_control_xl/launch_control_xl.cc index 4eb379a639..f659ea685c 100644 --- a/libs/surfaces/launch_control_xl/launch_control_xl.cc +++ b/libs/surfaces/launch_control_xl/launch_control_xl.cc @@ -1031,8 +1031,9 @@ LaunchControlXL::filter_stripables(StripableList& strips) const case 13: flt = &flt_selected; break; - case 14: // Factory Template 7 behaves strange - break; // don't map it to anyhting + case 14: // Factory Template 7 behaves strange, don't map it to anyhting + flt = &flt_default; + break; case 15: flt = &flt_mains; break;