Fix golangci-lint checks

This commit is contained in:
Michael Panzlaff
2026-07-07 16:51:06 +02:00
parent 025a5c2861
commit f6d33fb29f
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ func (m *LenovoDensePowerCollector) readEnergy() (float64, time.Time, error) {
return 0, time.Unix(0, 0), fmt.Errorf("result must be 14 bytes as specified in the documentation")
}
// data is layed out like this:
// data is laid out like this:
// data[0 to 1]: FIFO index of value (for debug only)
// data[2 to 5]: Integer part of energy in J (little endian)
// data[6 to 7]: Fraction part of energy in mJ (little endian)