From df760c301890ed7ea68fe41714a1822f447fc6ad Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Thu, 18 Jan 2024 09:25:39 -0500 Subject: [PATCH] capsules: st77xx: fix clippy if check --- capsules/extra/src/st77xx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capsules/extra/src/st77xx.rs b/capsules/extra/src/st77xx.rs index f6fa778d90..721fe6c36f 100644 --- a/capsules/extra/src/st77xx.rs +++ b/capsules/extra/src/st77xx.rs @@ -796,7 +796,7 @@ impl<'a, A: Alarm<'a>, B: Bus<'a>, P: Pin> screen::Screen<'a> for ST77XX<'a, A, let len = data.len(); self.write_buffer.replace(data.take()); - if continue_write == false { + if !continue_write { // Writing new data for the first time, make sure to reset // the screen buffer location to the beginning.