From b341ef2d1ee10395b0e65cd191b6f6d19ffdd472 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Mon, 26 Jan 2026 17:24:48 +0100 Subject: [PATCH] Fix stuck green display after restarting recording Rayhunter keeps track of the highest-severity warning seen during a recording, and only updates the display color when a new event exceeds that level. When a double-tap restarts recording, this threshold isn't reset, so it retains the old session's maximum. Since no new event can surpass the stale threshold, the display stays stuck on green even when warnings are detected. Fix #794 --- daemon/src/diag.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/src/diag.rs b/daemon/src/diag.rs index 8584c4e..e3efa3c 100644 --- a/daemon/src/diag.rs +++ b/daemon/src/diag.rs @@ -77,6 +77,7 @@ impl DiagTask { /// Start recording async fn start(&mut self, qmdl_store: &mut RecordingStore) { + self.max_type_seen = EventType::Informational; let (qmdl_file, analysis_file) = qmdl_store .new_entry() .await