mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 05:23:19 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
d21f3b447a
commit
ec842d217e
3 changed files with 22 additions and 22 deletions
|
@ -111,7 +111,7 @@ func (dev *HIDDevice) ChannelsList() []string {
|
|||
defer dev.Unlock()
|
||||
|
||||
chans := []string{}
|
||||
for ch, _ := range dev.channels {
|
||||
for ch := range dev.channels {
|
||||
chans = append(chans, fmt.Sprintf("%d", ch))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue