From 8a7ca788306c67ae255b460ebfe70147fc16a64c Mon Sep 17 00:00:00 2001 From: liebman Date: Wed, 24 Jul 2024 10:12:45 -0700 Subject: [PATCH] lcd_cam async: no need to enable interrupts until polled --- esp-hal/src/lcd_cam/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-hal/src/lcd_cam/mod.rs b/esp-hal/src/lcd_cam/mod.rs index ee0609a24ef..ec1b2b3b334 100644 --- a/esp-hal/src/lcd_cam/mod.rs +++ b/esp-hal/src/lcd_cam/mod.rs @@ -127,7 +127,6 @@ pub mod asynch { impl LcdDoneFuture { pub(crate) fn new() -> Self { - Instance::listen_lcd_done(); Self {} } } @@ -144,6 +143,7 @@ pub mod asynch { Instance::clear_lcd_done(); Poll::Ready(()) } else { + Instance::listen_lcd_done(); Poll::Pending } }