From f468d84a5b44b1a37d5488f3226848d5cd84d0b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schulz-Ansres?= Date: Thu, 2 May 2024 13:50:07 +0200 Subject: [PATCH] Cargo format --- embassy-stm32/src/dsihost.rs | 1 + embassy-stm32/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/dsihost.rs b/embassy-stm32/src/dsihost.rs index c55fa8411..0537d22cf 100644 --- a/embassy-stm32/src/dsihost.rs +++ b/embassy-stm32/src/dsihost.rs @@ -241,6 +241,7 @@ impl<'d, T: Instance> DsiHost<'d, T> { }); } + /// Read DSI Register pub fn read( &mut self, channel_id: u8, diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index 1f92e8b2a..029e01480 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -68,8 +68,6 @@ pub mod dac; pub mod dcmi; #[cfg(dsihost)] pub mod dsihost; -#[cfg(ltdc)] -pub mod ltdc; #[cfg(eth)] pub mod eth; #[cfg(feature = "exti")] @@ -89,6 +87,8 @@ pub mod i2s; pub mod ipcc; #[cfg(feature = "low-power")] pub mod low_power; +#[cfg(ltdc)] +pub mod ltdc; #[cfg(opamp)] pub mod opamp; #[cfg(octospi)]