From 4a540d041abf60c61ec93180946be995f2cfecac Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Sun, 30 Jan 2022 16:43:59 +0000 Subject: [PATCH] Hide spinlock 31. --- rp2040-hal/src/sio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/src/sio.rs b/rp2040-hal/src/sio.rs index ff4d7ea..b9a2a91 100644 --- a/rp2040-hal/src/sio.rs +++ b/rp2040-hal/src/sio.rs @@ -471,8 +471,8 @@ pub type Spinlock30 = Spinlock<30>; impl SpinlockValid for Spinlock<30> {} -/// Spinlock number 31 -pub type Spinlock31 = Spinlock<31>; +/// Spinlock number 31 - used by critical section implementation +pub(crate) type Spinlock31 = Spinlock<31>; impl SpinlockValid for Spinlock<31> {}