Fix Philips PB/CSR sync

This commit is contained in:
Mark Watkins 2016-02-28 11:51:31 +10:00
parent 3bc9ce4b07
commit 74be17d5d3

View File

@ -1293,7 +1293,6 @@ bool PRS1Import::ParseF0Events()
break;
case 0x0e: // Unknown
data[0] = ((char *)buffer)[pos++];
data[1] = buffer[pos++]; //(buffer[pos+1] << 8) | buffer[pos];
//data[0]/=10.0;
@ -1309,7 +1308,7 @@ bool PRS1Import::ParseF0Events()
break;
case 0x0f: // Cheyne Stokes Respiration
data[0] = buffer[pos + 1] << 8 | buffer[pos];
data[0] = (buffer[pos + 1] << 8 | buffer[pos]) * 2;
pos += 2;
data[1] = buffer[pos++];
tt = t - qint64(data[1]) * 1000L;