Fixed problem with exiting dfu

This commit is contained in:
shimniok@gmail.com 2014-10-27 18:52:54 -06:00
parent 967bd154ba
commit 4a91c8aabe

View File

@ -462,7 +462,6 @@ class OpenMVIDE(QMainWindow):
for offset in flash_offsets: for offset in flash_offsets:
progress.setValue(pg) progress.setValue(pg)
pydfu.page_erase(flash_offsets[pg]) pydfu.page_erase(flash_offsets[pg])
print(pg)
pg += 1 pg += 1
offset = 0 offset = 0
@ -480,8 +479,8 @@ class OpenMVIDE(QMainWindow):
offset += pg_size offset += pg_size
progress.hide() progress.hide()
# this isn't working...
openmv.reset() pydfu.exit_dfu()
def do_run(self): def do_run(self):
buf = str(self.editor.toPlainText()) buf = str(self.editor.toPlainText())