Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed May 18, 2020
1 parent 3107332 commit 3906273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charger/nrgble_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (nrg *NRGKickBLE) Enable(enable bool) error {
nrg.pauseCharging = !enable // use cached value to work around API roundtrip delay
settings := nrg.mergeSettings(res)

nrg.log.TRACE.Printf("write info: %+v", settings)
nrg.log.TRACE.Printf("write settings: %+v", settings)

return nrg.write(nrgble.SettingsService, &settings)
}
Expand All @@ -270,7 +270,7 @@ func (nrg *NRGKickBLE) MaxCurrent(current int64) error {
nrg.current = int(current) // use cached value to work around API roundtrip delay
settings := nrg.mergeSettings(res)

nrg.log.TRACE.Printf("write info: %+v", settings)
nrg.log.TRACE.Printf("write settings: %+v", settings)

return nrg.write(nrgble.SettingsService, &settings)
}
Expand Down

0 comments on commit 3906273

Please sign in to comment.