Skip to content

Commit

Permalink
lcd_cam async: no need to enable interrupts until polled
Browse files Browse the repository at this point in the history
  • Loading branch information
liebman committed Jul 25, 2024
1 parent 8d7133b commit 6a6019e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/lcd_cam/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ pub mod asynch {

impl LcdDoneFuture {
pub(crate) fn new() -> Self {
Instance::listen_lcd_done();
Self {}
}
}
Expand All @@ -144,6 +143,7 @@ pub mod asynch {
Instance::clear_lcd_done();
Poll::Ready(())
} else {
Instance::listen_lcd_done();
Poll::Pending
}
}
Expand Down

0 comments on commit 6a6019e

Please sign in to comment.