summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTérence Clastres <t.clastres@gmail.com>2018-08-30 22:36:59 +0200
committerRobin Gareus <robin@gareus.org>2018-08-30 22:39:24 +0200
commit2a78f0a85274df4ee0d530f2dde656d4dd0bbe49 (patch)
tree65b4c752cffdcf6ec6c2b4410935a873bf1cc09f
parent9f30d149060dbba091075f10b3c42e873bf2ba29 (diff)
LCXL: Fix check if ports exist
-rw-r--r--libs/surfaces/launch_control_xl/launch_control_xl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.cc b/libs/surfaces/launch_control_xl/launch_control_xl.cc
index eaa125df82..0c617205bf 100644
--- a/libs/surfaces/launch_control_xl/launch_control_xl.cc
+++ b/libs/surfaces/launch_control_xl/launch_control_xl.cc
@@ -706,7 +706,7 @@ LaunchControlXL::set_state (const XMLNode & node, int version)
void
LaunchControlXL::port_registration_handler ()
{
- if (!_async_in && !_async_out) {
+ if (!_async_in || !_async_out) {
/* ports not registered yet */
return;
}