forked from Elara6331/itd
Remove debug code
This commit is contained in:
parent
69d1027f01
commit
03c3c6b22f
@ -564,7 +564,6 @@ func handleConnection(conn net.Conn, dev *infinitime.Device, fs *blefs.FS) {
|
|||||||
|
|
||||||
json.NewEncoder(conn).Encode(types.Response{Type: req.Type})
|
json.NewEncoder(conn).Encode(types.Response{Type: req.Type})
|
||||||
case types.FSTypeRead:
|
case types.FSTypeRead:
|
||||||
fmt.Println(scanner.Text(), reqData)
|
|
||||||
if len(reqData.Files) != 2 {
|
if len(reqData.Files) != 2 {
|
||||||
connErr(conn, req.Type, nil, "Read FS command requires a path to the file to read")
|
connErr(conn, req.Type, nil, "Read FS command requires a path to the file to read")
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user