From f04283954e73f25e0e90752bf33d4d0cd760a751 Mon Sep 17 00:00:00 2001 From: Nelson Penn Date: Fri, 21 Jul 2023 00:55:37 -0400 Subject: [PATCH] Remove unused Into generic --- rp2040-hal/src/spi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp2040-hal/src/spi.rs b/rp2040-hal/src/spi.rs index f4810d234..0a3259797 100644 --- a/rp2040-hal/src/spi.rs +++ b/rp2040-hal/src/spi.rs @@ -300,7 +300,7 @@ impl, const DS: u8> Spi { } /// Initialize the SPI in slave mode - pub fn init_slave>(self, resets: &mut RESETS, frame_format: FrameFormat) -> Spi { + pub fn init_slave(self, resets: &mut RESETS, frame_format: FrameFormat) -> Spi { // Use dummy values for frequency and baudrate. // With both values 0, set_baudrate will set prescale == u8::MAX, which will break if debug assertions are enabled. // u8::MAX is outside the allowed range 2..=254 for CPSDVSR, which might interfere with proper operation in slave mode.