Merge branch 'bugfix/idf_monitor_baudrate_arg_crash' into 'master'

idf monitor: fix crash when monitor baudrate argument set

Closes IDF-1902

See merge request espressif/esp-idf!9546
This commit is contained in:
Ivan Grokhotkov
2020-07-21 22:07:04 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ def action_extensions(base_actions, project_path):
ports[0].encode("ascii", "ignore"))
return ports[0]
except IndexError:
raise RuntimeError(
raise FatalError(
"No serial ports found. Connect a device, or use '-p PORT' option to set a specific port.")
def _get_esptool_args(args):