tasks: oled: re-enable oled slow frame warning
This commit is contained in:
@@ -35,7 +35,7 @@ pub async fn oled_render(mut output: SsdOutput, mut surfaces: OledUiSurfacePool,
|
|||||||
if frame_time < RENDER_BUDGET {
|
if frame_time < RENDER_BUDGET {
|
||||||
Timer::after(RENDER_BUDGET - frame_time).await;
|
Timer::after(RENDER_BUDGET - frame_time).await;
|
||||||
} else {
|
} else {
|
||||||
//warn!("OLED Frame took too long to render! {}ms", frame_time.as_millis());
|
warn!("OLED Frame took too long to render! {}ms", frame_time.as_millis());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).await.unwrap();
|
}).await.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user