Skip to content

Commit 536deaa

Browse files
eliasnaurdeadprogram
authored andcommitted
1 parent df1d639 commit 536deaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/machine/machine_rp2_2350.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ func (p Pin) Configure(config PinConfig) {
150150
case PinAnalog:
151151
p.setFunc(fnNULL)
152152
p.pulloff()
153+
// Disable digital input.
154+
p.padCtrl().ClearBits(rp.PADS_BANK0_GPIO0_IE)
153155
case PinUART:
154156
p.setFunc(fnUART)
155157
case PinPWM:

0 commit comments

Comments
 (0)