From 77260155f64d92b0bec83bef0d6b6565bf8ca333 Mon Sep 17 00:00:00 2001 From: esea_info Date: Fri, 9 Jun 2023 09:04:05 +0800 Subject: [PATCH] =?UTF-8?q?Ramses.py=20=E7=A7=AF=E5=88=86=E6=97=B6?= =?UTF-8?q?=E9=97=B4=20self.buf[0]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ramses.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Ramses.py b/Ramses.py index 3f103a9..a80e707 100644 --- a/Ramses.py +++ b/Ramses.py @@ -125,9 +125,8 @@ class Ramses(object): def __ConvertBytesToInt(self ) -> None: res = {} d = [] # List [ Tuple[ it:int, sing_set:tuple[int] ] ] - # print(f" ================= ") - # print(f" {self.buf.hex()} ") - self.it = 2 << int(self.buf[1]) # integrated time + + self.it = 2 << int(self.buf[0]) # integrated time # self.it = 2 << int(self.buf[0]) # integrated time self.light_int = struct.unpack( "