From 9d72035abde9c96ed8c3a26768340942a543af00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20BECHER?= Date: Mon, 6 Jan 2025 00:30:41 +0100 Subject: [PATCH] remove debug println --- src/App.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/App.cs b/src/App.cs index 4a0c7e8..b230001 100644 --- a/src/App.cs +++ b/src/App.cs @@ -151,15 +151,12 @@ public partial class App : Form private void OnDrawTimer() { - Console.WriteLine("A"); while (_sampleQueue.Count > 0) { _samples.Add(_sampleQueue.Dequeue()); } - var frameTimeStart = TimeProvider.System.GetTimestamp(); - Console.WriteLine(TimeProvider.System.GetElapsedTime(_frameTimeStart, frameTimeStart).TotalMilliseconds); - _frameTimeStart = frameTimeStart; + _frameTimeStart = TimeProvider.System.GetTimestamp(); speedGaugeCanvas.Refresh(); graphPanel.Refresh(); @@ -257,9 +254,6 @@ public partial class App : Form brakeLabel.BackColor = sample is { BrakeFlag: true } ? Color.DarkRed : StatusGrayColor; _lastDrawnSample = sample; - - Console.WriteLine(TimeProvider.System.GetElapsedTime(frameTimeStart).TotalMilliseconds); - Console.WriteLine("B"); } private void speedGaugePanel_Paint(object sender, PaintEventArgs e)