Browse Source

Remove debug code

pull/12/head
Arsen Musayelyan 5 months ago
parent
commit
03c3c6b22f
  1. 1
      socket.go

1
socket.go

@ -564,7 +564,6 @@ func handleConnection(conn net.Conn, dev *infinitime.Device, fs *blefs.FS) {
json.NewEncoder(conn).Encode(types.Response{Type: req.Type})
case types.FSTypeRead:
fmt.Println(scanner.Text(), reqData)
if len(reqData.Files) != 2 {
connErr(conn, req.Type, nil, "Read FS command requires a path to the file to read")
break

Loading…
Cancel
Save