Update infinitime library version to fix intermittent DFU issues

This commit is contained in:
2021-10-21 20:27:58 -07:00
parent 0024a9fe69
commit 0054a0b3cf
3 changed files with 5 additions and 3 deletions

View File

@@ -227,6 +227,8 @@ func handleConnection(conn net.Conn, dev *infinitime.Device) {
connErr(conn, err, "Error decoding request data")
break
}
// Reset DFU to prepare for next update
dev.DFU.Reset()
switch reqData.Type {
case types.UpgradeTypeArchive:
// If less than one file, return error