Skip to content

Commit

Permalink
Delta: fix status mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply committed Aug 19, 2024
1 parent ede4259 commit da91ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charger/delta.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (wb *Delta) Status() (api.ChargeStatus, error) {
switch s := encoding.Uint16(b); s {
case 0, 1, 2, 3:
return api.StatusA, nil
case 5, 6, 7:
case 5, 6, 7, 9:
return api.StatusB, nil
case 4:
return api.StatusC, nil
Expand Down

0 comments on commit da91ea6

Please sign in to comment.