Stop triggering hard-reset after flash

Fixes #22
This commit is contained in:
Marcel Stör 2017-08-17 21:33:49 +02:00
parent baf99cae2a
commit 4d73e11dc7

View File

@ -14,7 +14,7 @@ from esptool import ESPLoader
from esptool import NotImplementedInROMError
from argparse import Namespace
__version__ = "2.0-beta"
__version__ = "2.1"
__supported_baud_rates__ = [9600, 57600, 74880, 115200, 230400, 460800, 921600]
# ---------------------------------------------------------------------------
@ -82,9 +82,6 @@ class FlashingThread(threading.Thread):
if self._config.erase_before_flash:
esptool.erase_flash(esp, args)
esptool.write_flash(esp, args)
self._parent.log_message("Hard resetting...") # replicate behavior from esptool.py:2111
esp.hard_reset()
except SerialException as e:
self._parent.report_error(e.strerror)
raise e