From d1e1b8f6fa1d4219aad587e7d66e3e1616eb87d9 Mon Sep 17 00:00:00 2001 From: Viktor Dragomiretskyy Date: Thu, 2 Jul 2020 01:26:30 +1200 Subject: [PATCH] Oops, accidently left my device type enabled. --- proto9x/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto9x/sensor.py b/proto9x/sensor.py index 2e98595..f117758 100644 --- a/proto9x/sensor.py +++ b/proto9x/sensor.py @@ -204,7 +204,7 @@ class Sensor(): print('Opening sensor: %s' % self.device_info.name) self.type_info = SensorTypeInfo.get_by_type(self.device_info.type) - if self.device_info.type == 0x199 or self.device_info.type == 0xdb: + if self.device_info.type == 0x199: self.lines_per_frame = 0xe0 # valid for 0x199, TODO: figure out where this number is coming from self.bytes_per_line = 0x78 self.key_calibration_line = 0x38 # (lines_per_calibration_data/2), but hardcoded for sensor type 0x199