PRS1 F0V4 parser wasn't being called correctly

This commit is contained in:
Mark Watkins 2014-08-05 01:50:19 +10:00
parent 9309a57839
commit c491edc3a4
2 changed files with 9 additions and 1 deletions

View File

@ -1297,6 +1297,7 @@ bool PRS1Import::ParseSummaryF0V4()
session->settings[CPAP_PSMin] = min_ps; session->settings[CPAP_PSMin] = min_ps;
session->settings[CPAP_PSMax] = max_ps; session->settings[CPAP_PSMax] = max_ps;
} }
session->settings[CPAP_Mode] = (int)cpapmode;
quint8 flex = data[0x0a]; quint8 flex = data[0x0a];
@ -1471,7 +1472,11 @@ bool PRS1Import::ParseSummary()
switch (summary->family) { switch (summary->family) {
case 0: case 0:
return ParseSummaryF0(); if (summary->familyVersion == 4) {
return ParseSummaryF0V4();
} else {
return ParseSummaryF0();
}
case 3: case 3:
return ParseSummaryF3(); return ParseSummaryF3();
case 5: case 5:

View File

@ -10,6 +10,9 @@
<br/> <br/>
<b>New features & bug fixes in v0.9.7</b><br/> <b>New features & bug fixes in v0.9.7</b><br/>
<list> <list>
<li>Fix an issue that caused some burried PRS1 session data to not be imported</li>
<li>Fix a lot of pressure and pressure relief strings</li>
<li>New Feature: Added basic Weinmann SOMNOsoft2 Import importer</li>
<li>Fixed inverted CMS50 .spoR file pulse and spo2</l> <li>Fixed inverted CMS50 .spoR file pulse and spo2</l>
<li>Added CMS50i .spo2 file import support</li> <li>Added CMS50i .spo2 file import support</li>
<li>New Feature: Added a Welcome page to make things a little friendlier</li> <li>New Feature: Added a Welcome page to make things a little friendlier</li>