Skip to content

Commit 8a4cc19

Browse files
committed
Fix unused enum warning
1 parent 0db2e3b commit 8a4cc19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xspi/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ mod common {
181181

182182
/// Indicates a specific QUADSPI bank to use
183183
#[derive(Debug, Copy, Clone, PartialEq)]
184+
#[cfg(any(feature = "rm0433", feature = "rm0399"))]
184185
pub enum Bank {
185186
One,
186187
Two,

0 commit comments

Comments
 (0)