diff --git a/rp2040-hal/src/timer.rs b/rp2040-hal/src/timer.rs index 5728627..8f4808c 100644 --- a/rp2040-hal/src/timer.rs +++ b/rp2040-hal/src/timer.rs @@ -11,6 +11,9 @@ pub struct Timer { timer: TIMER, } +// Safety: All access is read-only. +unsafe impl Sync for Timer {} + impl Timer { /// Create a new [`Timer`] pub fn new(timer: TIMER, resets: &mut RESETS) -> Self {