Ramses.py 积分时间 self.buf[0]

server
esea_info 2 years ago
parent e473e5a046
commit 77260155f6
  1. 5
      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(
"<HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH \

Loading…
Cancel
Save