Update infinitime library version to fix intermittent DFU issues

This commit is contained in:
2021-10-21 20:27:58 -07:00
parent 7b849a3fc7
commit e7de7bd7bb
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