Optimierung der LSP Schnittstelle
This commit is contained in:
1
main.py
1
main.py
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user