From 28711814e755286d412c0d98c63665ed33639d38 Mon Sep 17 00:00:00 2001 From: Donny Lawrence Date: Wed, 15 Jan 2020 15:53:57 -0600 Subject: [PATCH] device: Replace erroneous && with ||. --- panda/src/device/inputDeviceNode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/device/inputDeviceNode.cxx b/panda/src/device/inputDeviceNode.cxx index bdf849b93b..b5e749b2d6 100644 --- a/panda/src/device/inputDeviceNode.cxx +++ b/panda/src/device/inputDeviceNode.cxx @@ -54,7 +54,7 @@ void InputDeviceNode:: do_transmit_data(DataGraphTraverser *, const DataNodeTransmit &, DataNodeTransmit &output) { - if (_device == nullptr && !_device->is_connected()) { + if (_device == nullptr || !_device->is_connected()) { return; }