From 7910eb026feee1e9f7f94be58f22843217791be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?xgroleau=F0=9F=90=A2?= Date: Tue, 3 Oct 2023 16:50:09 -0400 Subject: [PATCH] fix: format --- mipidsi/src/builder.rs | 2 +- mipidsi/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mipidsi/src/builder.rs b/mipidsi/src/builder.rs index 3528e87..40a8e65 100644 --- a/mipidsi/src/builder.rs +++ b/mipidsi/src/builder.rs @@ -118,7 +118,7 @@ where /// Consumes the builder to create a new [Display] with an optional reset [OutputPin]. /// Blocks using the provided [DelayUs] `delay_source` to perform the display initialization. /// The display will be awake ready to use, no need to call [Display::wake] after init. - /// + /// /// ### WARNING /// The reset pin needs to be in *high* state in order for the display to operate. /// If it wasn't provided the user needs to ensure this is the case. diff --git a/mipidsi/src/lib.rs b/mipidsi/src/lib.rs index 82f7dcc..144b352 100644 --- a/mipidsi/src/lib.rs +++ b/mipidsi/src/lib.rs @@ -253,7 +253,7 @@ where self.dcs .write_command(dcs::SetTearingEffect(tearing_effect)) } - + /// /// Puts the display to sleep, reducing power consumption. /// Need to call [Self::wake] before issuing other commands @@ -261,7 +261,7 @@ where pub fn sleep(&mut self) -> Result<(), Error> { self.dcs.write_command(dcs::EnterSleepMode) } - + /// /// Wakes the display after it's been set to sleep via [Self::sleep] ///