Skip to content

Commit b6c47f5

Browse files
committed
removing debug prints
1 parent 80f2612 commit b6c47f5

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

adapter_ninafw.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,6 @@ func (a *Adapter) Enable() error {
6666
AdapterConfig.CS.Configure(machine.PinConfig{Mode: machine.PinOutput})
6767
AdapterConfig.CS.Low()
6868

69-
if _debug {
70-
println(
71-
"tx:", AdapterConfig.TX,
72-
"rx:", AdapterConfig.RX,
73-
"baudrate:", AdapterConfig.BaudRate,
74-
"cts:", AdapterConfig.CTS,
75-
"rts:", AdapterConfig.RTS,
76-
)
77-
}
78-
7969
if AdapterConfig.ResetInverted {
8070
resetNINAInverted()
8171
} else {
@@ -106,22 +96,12 @@ func (a *Adapter) Enable() error {
10696
AdapterConfig.CTS.Configure(machine.PinConfig{Mode: machine.PinInput})
10797
}
10898

109-
if _debug {
110-
println("starting hci")
111-
}
11299
a.hci.start()
113100

114-
if _debug {
115-
println("reseting hci")
116-
}
117101
if err := a.hci.reset(); err != nil {
118102
return err
119103
}
120104

121-
if _debug {
122-
println("hci reset successfully")
123-
}
124-
125105
time.Sleep(150 * time.Millisecond)
126106

127107
if err := a.hci.setEventMask(0x3FFFFFFFFFFFFFFF); err != nil {

0 commit comments

Comments
 (0)