Skip to content

Commit 1f2642c

Browse files
committed
fix: add id field for hw spinlock compatibility
1 parent 521d5a4 commit 1f2642c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/runtime_rp2350.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const (
1818

1919
type spinLock struct {
2020
atomic.Uint32
21+
id uint8
2122
}
2223

2324
func (l *spinLock) Lock() {

0 commit comments

Comments
 (0)