Skip to content

Commit 226744a

Browse files
authored
machine: correct register address for Pin.SetInterrupt for rp2350 (#4782)
Fixes #4689
1 parent dc876c6 commit 226744a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/machine/machine_rp2_gpio.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ type irqSummary struct {
3333

3434
type ioBank0Type struct {
3535
io [_NUMBANK0_GPIOS]ioType
36+
_ [rp2350ExtraReg][128]byte
3637
irqsum [rp2350ExtraReg]irqSummary
3738
intR [_NUMBANK0_IRQS]volatile.Register32
3839
proc0IRQctrl irqCtrl

0 commit comments

Comments
 (0)