Merge branch 'feat/idf_monitor_event_queue_block' into 'master'
idf_monitor: fix the bug that idf_monitor not blocked when no log printed See merge request espressif/esp-idf!5805
This commit is contained in:
commit
701ec9dae0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue