Optimierung der LSP Schnittstelle

This commit is contained in:
2024-07-22 11:53:03 +02:00
parent ac2180b041
commit b1ceb7c913

View File

@@ -444,6 +444,7 @@ class ArduinoGUI:
if self.ser: if self.ser:
if self.ser.in_waiting: if self.ser.in_waiting:
try: try:
command = ""
command = self.ser.read_all().decode(errors='ignore').strip() command = self.ser.read_all().decode(errors='ignore').strip()
while self.ser.in_waiting: while self.ser.in_waiting:
pass pass