Re-enable processing tasks while transferring framebuffer to LCD
This commit is contained in:
parent
512cdc20b8
commit
79cb42ab15
|
|
@ -510,10 +510,10 @@ async fn run_lcd(mut st7701s: St7701s<'static, Blocking>, framebuffer: &'static
|
|||
// the flash to be accessed, which interferes with the framebuffer transfer.
|
||||
// For that reason, it is disabled, and this task blocks the first core, until the transfer
|
||||
// is complete.
|
||||
// while !transfer.is_done() {
|
||||
// // Timer::after_millis(1).await;
|
||||
// yield_now().await;
|
||||
// }
|
||||
while !transfer.is_done() {
|
||||
// Timer::after_millis(1).await;
|
||||
yield_now().await;
|
||||
}
|
||||
|
||||
let result;
|
||||
let dma_buf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue