mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix for detecting Malyan M200 and Monoprice Mini
This commit is contained in:
parent
0d55b8b440
commit
dc9813b916
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,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