mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Merge pull request #3855 from jorgegarciadev/master
Fix for detecting USB connection to Malyan M200 and Monoprice Mini
This commit is contained in:
commit
006c778d3e
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ class AutoDetectBaudJob(Job):
|
|||
|
||||
while timeout_time > time():
|
||||
line = serial.readline()
|
||||
if b"ok T:" in line:
|
||||
if b"ok " in line and b"T:" in line:
|
||||
successful_responses += 1
|
||||
if successful_responses >= 3:
|
||||
self.setResult(baud_rate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue