chore: bump minimum Go version to 1.24 (#85)

Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
This commit is contained in:
Marvin Drees
2026-04-16 22:21:23 +02:00
committed by GitHub
parent 9d436c1d86
commit f87761f777
34 changed files with 100 additions and 125 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ func (phy *Device) ResetPHY() (err error) {
const maxPolls = 50
const resetTimeout = 500 * time.Millisecond // As per standard.
var ctl BMCR
for i := 0; i < maxPolls; i++ {
for range maxPolls {
time.Sleep(resetTimeout / maxPolls)
ctl, err = phy.BasicControl()
if err != nil {