mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fixed problem with exiting dfu
This commit is contained in:
parent
967bd154ba
commit
4a91c8aabe
@ -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())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user