Skip to content

Commit 1fa1160

Browse files
author
Erik Svensson
committed
Adding SPIM3 to nRF52833
1 parent 2444c3f commit 1fa1160

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nrf-hal-common/src/spim.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use core::iter::repeat_with;
1818
#[cfg(any(feature = "52832", feature = "52833", feature = "52840"))]
1919
use crate::target::{SPIM1, SPIM2};
2020

21-
#[cfg(feature = "52840")]
21+
#[cfg(any(feature = "52840", feature = "52833"))]
2222
use crate::target::SPIM3;
2323

2424
use crate::gpio::{Floating, Input, Output, Pin, PushPull};
@@ -413,5 +413,5 @@ impl Instance for SPIM1 {}
413413
#[cfg(any(feature = "52832", feature = "52833", feature = "52840"))]
414414
impl Instance for SPIM2 {}
415415

416-
#[cfg(feature = "52840")]
416+
#[cfg(any(feature = "52840", feature = "52833"))]
417417
impl Instance for SPIM3 {}

0 commit comments

Comments
 (0)