mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 12:10:43 +00:00
Oximetry fix #372350
This commit is contained in:
parent
351680a5df
commit
46b2364e2b
@ -452,7 +452,7 @@ void CMS50F37Loader::processBytes(QByteArray bytes)
|
||||
if (res == 0x09) {
|
||||
quint8 * buf = (unsigned char *)&buffer.data()[idx];
|
||||
// 9,80,e1,c4,ce,82 // cms50i data
|
||||
for (int i = 2, msb = buf[1]; i < len; i++, msb>>= 1) {
|
||||
for (int i = 3, msb = buf[1]; i < len; i++, msb>>= 1) {
|
||||
buf[i] = (buf[i] & 0x7f) | (msb & 0x01 ? 0x80 : 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user