+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -228,14 +228,14 @@ func updateFirmware(board *firmwareindex.IndexBoard, loaderSketch, moduleName st
228
228
return err
229
229
}
230
230
defer f.Close()
231
-
f.SetProgressCallback(printProgress)
232
231
233
232
// now flash the actual firmware
234
233
flasherOut := new(bytes.Buffer)
235
234
flasherErr := new(bytes.Buffer)
236
235
if feedback.GetFormat() == feedback.JSON {
237
236
err = f.FlashFirmware(firmwareFile, flasherOut)
238
237
} else {
238
+
f.SetProgressCallback(printProgress)
239
239
err = f.FlashFirmware(firmwareFile, os.Stdout)
240
240
}
241
241
if err != nil {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4