fix: info_ref! can't be called on Option

This commit is contained in:
swanandx 2024-01-03 19:33:43 +05:30
parent 8352d13cfd
commit 046af81a10

View File

@ -174,7 +174,7 @@ impl<'d, T: Instance> Spis<'d, T> {
) -> Self {
compiler_fence(Ordering::SeqCst);
into_ref!(spis, cs, sck);
into_ref!(spis, cs);
let r = T::regs();