mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
idf_monitor: fix the bug that idf_monitor not blocked when no log printed
Inspired by @no1seman, @negativekelvin and @pglen on Github. (In post oder) Resolves https://github.com/espressif/esp-idf/issues/3884
This commit is contained in:
parent
76453ccfa5
commit
24f91617d7
@ -490,7 +490,7 @@ class Monitor(object):
|
||||
item = self.cmd_queue.get_nowait()
|
||||
except queue.Empty:
|
||||
try:
|
||||
item = self.event_queue.get(False, 0.001)
|
||||
item = self.event_queue.get(True, 0.03)
|
||||
except queue.Empty:
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user