mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2025-12-27 07:45:28 +00:00
fix false fps reading
This commit is contained in:
@@ -93,11 +93,6 @@ pub async fn display_handler(mut display: DISPLAY) {
|
||||
};
|
||||
}
|
||||
|
||||
#[cfg(feature = "fps")]
|
||||
if unsafe { FPS_COUNTER.should_draw() } {
|
||||
fps::draw_fps(&mut display).await;
|
||||
}
|
||||
|
||||
// small yield to allow other tasks to run
|
||||
Timer::after_millis(10).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user