Skip to content

Commit 76c0115

Browse files
committed
Suppress unused warning
1 parent 564f9cf commit 76c0115

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/spi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ mod interrupts {
501501
// generated an enum-number for that. The RM0365 does also not list it as an interrupt.
502502
// Strangly though, the Stm32CubeMx program let's us choose to enable the NVIC
503503
// interrupt. This is probably a documentation bug.
504+
#[allow(unused)]
504505
pub(crate) const SPI4: Interrupt = Interrupt::SPI3;
505506
} else if #[cfg(feature = "gpio-f303e")] {
506507
pub(crate) const SPI4: Interrupt = Interrupt::SPI4;

0 commit comments

Comments
 (0)