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:
Angus Gratton 2019-08-19 13:06:31 +08:00
commit 701ec9dae0

View file

@ -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