Alpitronic HYC: fix soc (#25413)

This commit is contained in:
premultiply 2025-11-19 18:50:51 +01:00 • committed by GitHub
parent 9d822cbc0a
commit 522caa36bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -271,5 +271,5 @@ func (wb *AlpitronicHYC) Soc() (float64, error) {
return 0, err
}
return float64(encoding.Uint16(b)), nil
return float64(encoding.Uint16(b)) / 100, nil
}