Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Sep 9, 2021
1 parent 75f908e commit e06079f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
7 changes: 0 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
issues:
exclude:
- "func `..Wallbe..showIO` is unused"
- "func `..Wallbe..showIOs` is unused"
- .regActualCurrent. is unused
- .regOverchargeProtect. is unused
- .regReset. is unused
- "`routeLogger` is unused"
- field `connectedTime` is unused
- func `..LoadPoint..evVehicleConnectHandler` is unused
- func `..LoadPoint..evVehicleDisconnectHandler` is unused
11 changes: 5 additions & 6 deletions charger/wallbe.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ import (
const (
wbSlaveID = 255

wbRegStatus = 100 // Input
wbRegChargeTime = 102 // Input
wbRegActualCurrent = 300 // Holding
wbRegEnable = 400 // Coil
wbRegMaxCurrent = 528 // Holding
wbRegFirmware = 149 // Firmware
wbRegStatus = 100 // Input
wbRegChargeTime = 102 // Input
wbRegEnable = 400 // Coil
wbRegMaxCurrent = 528 // Holding
wbRegFirmware = 149 // Firmware

wbRegPower = 120 // power reading
wbRegEnergy = 128 // energy reading
Expand Down

0 comments on commit e06079f

Please sign in to comment.