Alphatec: accept status 8 (#10578)
This commit is contained in:
parent
1a2747cdc0
commit
f0b259677e
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ func (wb *Alphatec) Status() (api.ChargeStatus, error) {
|
|||
switch u := binary.BigEndian.Uint16(b); u {
|
||||
case 1:
|
||||
return api.StatusA, nil
|
||||
case 2:
|
||||
case 2, 8:
|
||||
return api.StatusB, nil
|
||||
case 3:
|
||||
return api.StatusC, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue