bugfix: output misconfigured

This commit is contained in:
soypat
2025-07-09 12:13:17 -03:00
parent 9fb57e22fb
commit db544f4ca7
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ package legacy
import "machine"
func configurePinOut(p PinOutput) {
configurePin(p, machine.PinInputPulldown)
configurePin(p, machine.PinOutput)
}
func configurePinInputPulldown(p PinInput) {
+3
View File
@@ -4,6 +4,9 @@ package legacy
import "machine"
// If you are getting a build error here you then we missed adding
// your CPU build tag to the list of CPUs that do not have pulldown/pullups.
// Add it above and in pinhal_nopulls! You should also add a smoketest for it :)
const (
pulldown = machine.PinInputPulldown
pullup = machine.PinInputPullup