Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions notecard/dfu.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ func dfuSideload(filename string, verbose bool) (err error) {
binaryMax := 0
var rsp notecard.Request
rsp, err = card.TransactionRequest(notecard.Request{Req: "card.binary"})
if note.ErrorContains(err, note.ErrCardIo) {
return err
}

if err == nil {

// Get the maximum size that the notecard can handle
Expand Down