moce patches

This commit is contained in:
GABRIEL Sebastian 2026-11-13 10:59:24 +01:00
commit 5665d68db0
37 changed files with 1472 additions and 570 deletions

View file

@ -1,15 +0,0 @@
diff --git a/src/model.rs b/src/model.rs
index 03d7bbe..4d0bc9b 100644
--- a/src/model.rs
+++ b/src/model.rs
@@ -231,8 +231,8 @@ impl Parameters {
}
}
- /// No saturation without an attached sensor, usable signal quality and
- /// two observed mechanical pulse events. Thresholds do not control this alarm.
+ /// Test-only convenience wrapper for saturation availability without dropout.
+ #[cfg(test)]
pub fn spo2_status(&self, pulse_rate: Option<i32>) -> Spo2Status {
self.spo2_status_during(pulse_rate, false)
}