mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'bugfix/windows_10_idf_monitor_redux' into 'master'
idf_monitor: Fix Windows 10 bug in cases where second console write also fails See merge request !1675
This commit is contained in:
@@ -592,8 +592,11 @@ if os.name == 'nt':
|
|||||||
self.output.write(b)
|
self.output.write(b)
|
||||||
except IOError:
|
except IOError:
|
||||||
# Windows 10 bug since the Fall Creators Update, sometimes writing to console randomly fails
|
# Windows 10 bug since the Fall Creators Update, sometimes writing to console randomly fails
|
||||||
# (but always succeeds the second time, it seems.) Ref https://github.com/espressif/esp-idf/issues/1136
|
# (but usually succeeds the second time, it seems.) Ref https://github.com/espressif/esp-idf/issues/1136
|
||||||
self.output.write(b)
|
try:
|
||||||
|
self.output.write(b)
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
self.matched = b''
|
self.matched = b''
|
||||||
|
|
||||||
def flush(self):
|
def flush(self):
|
||||||
|
Reference in New Issue
Block a user