summaryrefslogtreecommitdiff
path: root/wally/dfu.go
diff options
context:
space:
mode:
Diffstat (limited to 'wally/dfu.go')
-rw-r--r--wally/dfu.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/wally/dfu.go b/wally/dfu.go
index bc8b7c5..2e6aa13 100644
--- a/wally/dfu.go
+++ b/wally/dfu.go
@@ -181,6 +181,7 @@ func DFUFlash(s *State) {
defer cfg.Close()
fileSize := len(firmwareData)
+ s.FlashProgress.Sent = 0
s.FlashProgress.Total = fileSize
err = dfuClearStatus(dev)