Skip to content

Commit ae9d256

Browse files
committed
test
1 parent 22ba2f5 commit ae9d256

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

communication/u2fhid/u2fhid.go

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package u2fhid
1818
import (
1919
"bytes"
2020
"encoding/binary"
21+
"fmt"
2122
"io"
2223
"sync"
2324

@@ -141,6 +142,7 @@ func (communication *Communication) sendFrame(msg string) error {
141142
for out.Len() > 0 {
142143
x := out.Bytes() // needs to be in a var: https://github.com/golang/go/issues/14210#issuecomment-346402945
143144
n, err := communication.device.Write(x)
145+
fmt.Println("LOL", n)
144146
if err != nil {
145147
return errp.WithMessage(errp.WithStack(err), "Failed to send message")
146148
}

0 commit comments

Comments
 (0)