mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Philips PB/CSR flag length on older machines don't look like they double
This commit is contained in:
parent
74be17d5d3
commit
69faf5cf97
@ -1308,7 +1308,11 @@ bool PRS1Import::ParseF0Events()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x0f: // Cheyne Stokes Respiration
|
case 0x0f: // Cheyne Stokes Respiration
|
||||||
data[0] = (buffer[pos + 1] << 8 | buffer[pos]) * 2;
|
data[0] = (buffer[pos + 1] << 8 | buffer[pos]);
|
||||||
|
if (event->familyVersion > 4) {
|
||||||
|
// might not doublerize on older machines
|
||||||
|
data[0] *= 2;
|
||||||
|
}
|
||||||
pos += 2;
|
pos += 2;
|
||||||
data[1] = buffer[pos++];
|
data[1] = buffer[pos++];
|
||||||
tt = t - qint64(data[1]) * 1000L;
|
tt = t - qint64(data[1]) * 1000L;
|
||||||
|
Loading…
Reference in New Issue
Block a user