Update Infinitime library to use custom agent

This commit is contained in:
2021-12-16 21:32:06 -08:00
parent 518fe74e96
commit 23b9cfe8a3
4 changed files with 37 additions and 5 deletions

View File

@@ -617,7 +617,6 @@ func handleConnection(conn net.Conn, dev *infinitime.Device, fs *blefs.FS) {
go func() {
// For every progress event
for rcvd := range remoteFile.Progress() {
fmt.Println(rcvd)
// Encode event on connection
json.NewEncoder(conn).Encode(types.Response{
Type: req.Type,