Skip to content

Commit

Permalink
Heidelberg: log decimal status (#2234)
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply committed Jan 7, 2022
1 parent d8a652f commit a0ea097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charger/heidelberg-ec.go
Expand Up @@ -116,7 +116,7 @@ func (wb *HeidelbergEC) Status() (api.ChargeStatus, error) {
case 6, 7:
return api.StatusC, nil
default:
return api.StatusNone, fmt.Errorf("invalid status: %0x", sb)
return api.StatusNone, fmt.Errorf("invalid status: %d", sb)
}
}

Expand Down

0 comments on commit a0ea097

Please sign in to comment.