AAAAAAAAAAAAAAAAA
This commit is contained in:
@@ -12,7 +12,7 @@ class LoraLightSensorReader(SerialReader):
|
||||
super().__init__(port, baudrate)
|
||||
self.json_pattern = re.compile(r'\{.*}')
|
||||
|
||||
def __read(self):
|
||||
def _read(self):
|
||||
while self._run_event.is_set():
|
||||
line = self.serial.readline().decode('utf-8', errors='ignore').strip()
|
||||
if not line:
|
||||
|
||||
Reference in New Issue
Block a user