Skip to content

Commit

Permalink
capsules: st77xx: fix clippy if check
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Jan 18, 2024
1 parent 43f0e35 commit df760c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capsules/extra/src/st77xx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit df760c3

Please sign in to comment.