mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Oximetry fix #372345
This commit is contained in:
parent
13472688fc
commit
7cbdbdf8b7
@ -456,7 +456,7 @@ void CMS50F37Loader::processBytes(QByteArray bytes)
|
||||
buffer[idx+i] = (buffer[idx+i] & 0x7f) | (msb & 0x01 ? 0x80 : 0);
|
||||
}
|
||||
|
||||
quint16 pi = (((quint8)buffer.at(idx+1) & 4) << 5) | (quint8)buffer.at(idx + 4) | (buffer.at(idx + 5) << 8);
|
||||
quint16 pi = (quint8)buffer.at(idx + 4) | (buffer.at(idx + 5) << 8);
|
||||
|
||||
pulse = buffer.at(idx+3);
|
||||
quint8 spo2 = buffer.at(idx+2);
|
||||
|
Loading…
Reference in New Issue
Block a user