From 4e27cdf46736c7e7caac1554113e6f3a02c65052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nejc=20Jezer=C5=A1ek?= Date: Fri, 24 Mar 2023 09:39:44 +0100 Subject: [PATCH] Make the code work for FFC-P3 the same way as for FFC-P4 --- test_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_ui.py b/test_ui.py index 824d80c4f..9e29a8417 100644 --- a/test_ui.py +++ b/test_ui.py @@ -1297,7 +1297,7 @@ def connexion_slot(self, signal): self.connect_but.adjustSize() self.update_imu = True location = WIDTH, 0 - if 'FFC-4P' not in test_type: + if 'FFC' not in test_type: if 'SR' not in test_type: self.rgb = Camera(lambda: self.depth_camera.get_image('RGB'), colorMode, 'RGB Preview', location) self.rgb.show() @@ -1614,7 +1614,7 @@ def close_event(self, event): def disconnect(self): if hasattr(self, 'depth_camera'): - if 'FFC-4P' not in test_type: + if 'FFC' not in test_type: if 'SR' not in test_type: del self.rgb del self.jpeg