Skip to content

Commit

Permalink
Correcting duplicate value setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Rochford committed Feb 27, 2023
1 parent 66eb88d commit b755c57
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions adapters/devices/sofar/lsw.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ func readData(connPort ports.CommunicationPort, serialNumber uint) (map[string]i
result[k] = v
}

for k, v := range reply {
result[k] = v
}

reply, err = readRegisterRange(rrRatio, connPort, serialNumber)
if err != nil {
return nil, err
Expand Down

0 comments on commit b755c57

Please sign in to comment.