apply suggestions from team

This commit is contained in:
soypat
2025-04-30 15:18:21 -03:00
committed by deadprogram
parent cf81c5ab02
commit 7d3404f060
9 changed files with 573 additions and 43 deletions
+12
View File
@@ -0,0 +1,12 @@
//go:build baremetal
package legacy
import "machine"
func configurePinOut(p PinOutput) {
machinePin, ok := p.(machine.Pin)
if ok {
machinePin.Configure(machine.PinConfig{Mode: machine.PinOutput})
}
}