diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-24 00:01:06 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-24 00:01:28 +0200 |
commit | f7968f15dd65b21af284b86495f37cc3bc97b829 (patch) | |
tree | 7ca5cf46d72830e66f294aeb60c731309b5dce56 /libs/surfaces | |
parent | 2920bd0253be94155c440368f50f9ca2763ddf0f (diff) |
LCXL: Fix uninitialized pointer function
See also 026b74e25d3. FilterFunction must point to a valid function.
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/launch_control_xl/launch_control_xl.cc | 5 |
1 files 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; |