fix pullups not available on fe310

This commit is contained in:
soypat
2025-07-09 12:04:37 -03:00
parent 3681452097
commit 9fb57e22fb
3 changed files with 22 additions and 2 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ func configurePinOut(p PinOutput) {
}
func configurePinInputPulldown(p PinInput) {
configurePin(p, machine.PinInputPulldown)
configurePin(p, pulldown) // some chips do not have pull down, in which case pulldown==machine.PinInput.
}
func configurePinInput(p PinInput) {
@@ -17,7 +17,7 @@ func configurePinInput(p PinInput) {
}
func configurePinInputPullup(p PinInput) {
configurePin(p, machine.PinInputPullup)
configurePin(p, pullup) // some chips do not have pull up, in which case pullup==machine.PinInput.
}
func pinIsNoPin(a any) bool {