mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:45:54 +08:00
Fix for detecting Malyan M200 and Monoprice Mini
This commit is contained in:
parent
0d55b8b440
commit
dc9813b916
@ -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…
x
Reference in New Issue
Block a user