Skip to content

Conversation

quasilyte
Copy link

The rsp[0] == ErrorResponseCode && len(rsp) == 5 case was duplicated.
Surrounding code uses rsp[0] == ErrorResponseCode && len(rsp) != 5 (note "not equal")
for the second case, so probably this is probably what we want there as well.

The `rsp[0] == ErrorResponseCode && len(rsp) == 5` case was duplicated.
Surrounding code uses `rsp[0] == ErrorResponseCode && len(rsp) != 5` (note "not equal")
for the second case, so probably this is probably what we want there as well.
@quasilyte quasilyte changed the title linux/add: fix duplicated switch case error linux/att: fix duplicated switch case error Dec 11, 2018
@estutzenberger estutzenberger merged commit b055c21 into go-ble:master May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants