mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 19:20:46 +00:00
Fix (mask) pressure waveform scaling for PRS1 960T.
This commit is contained in:
parent
40553fcf5e
commit
0fa066db47
@ -8297,9 +8297,9 @@ void PRS1Import::ParseWaveforms()
|
|||||||
|
|
||||||
if (num > 1) {
|
if (num > 1) {
|
||||||
float pressure_gain = 0.1F; // standard pressure gain
|
float pressure_gain = 0.1F; // standard pressure gain
|
||||||
if ((waveform->family == 5 && waveform->familyVersion == 3) ||
|
if ((waveform->family == 5 && (waveform->familyVersion == 2 || waveform->familyVersion == 3)) ||
|
||||||
(waveform->family == 3 && waveform->familyVersion == 6)){
|
(waveform->family == 3 && waveform->familyVersion == 6)){
|
||||||
// F5V3 and F3V6 use a gain of 0.125 rather than 0.1 to allow for a maximum value of 30 cmH2O
|
// F5V2, F5V3, and F3V6 use a gain of 0.125 rather than 0.1 to allow for a maximum value of 30 cmH2O
|
||||||
pressure_gain = 0.125F; // TODO: this should be parameterized somewhere better, once we have a clear idea of which machines use this
|
pressure_gain = 0.125F; // TODO: this should be parameterized somewhere better, once we have a clear idea of which machines use this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user