mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Add support for HT12 heated tube new to DreamStation 2.
This commit is contained in:
parent
00974d4f49
commit
41b2c27d60
@ -916,6 +916,7 @@ void PRS1DataChunk::ParseTubingTypeV3(unsigned char type)
|
|||||||
case 1: diam = 15; break;
|
case 1: diam = 15; break;
|
||||||
case 2: diam = 15; break; // 15HT, though the reports only say "15" for DreamStation models
|
case 2: diam = 15; break; // 15HT, though the reports only say "15" for DreamStation models
|
||||||
case 3: diam = 12; break; // seen on DreamStation Go models
|
case 3: diam = 12; break; // seen on DreamStation Go models
|
||||||
|
case 4: diam = 12; break; // HT12, seen on DreamStation 2 models
|
||||||
default:
|
default:
|
||||||
UNEXPECTED_VALUE(type, "known tubing type");
|
UNEXPECTED_VALUE(type, "known tubing type");
|
||||||
return;
|
return;
|
||||||
|
@ -2074,7 +2074,7 @@ bool PRS1DataChunk::ParseSettingsF0V6(const unsigned char* data, int size)
|
|||||||
break;
|
break;
|
||||||
case 0x46: // Tubing Type (alternate, seen instead of 0x3b on 700X110 v1.2 firmware and on DS2)
|
case 0x46: // Tubing Type (alternate, seen instead of 0x3b on 700X110 v1.2 firmware and on DS2)
|
||||||
CHECK_VALUE(len, 1);
|
CHECK_VALUE(len, 1);
|
||||||
if (data[pos] > 3) UNEXPECTED_VALUE(data[pos], "0-3"); // 0 = 22mm, 1 = 15mm, 2 = 15HT, 3 = 12mm
|
if (data[pos] > 4) UNEXPECTED_VALUE(data[pos], "0-4"); // 0 = 22mm, 1 = 15mm, 2 = 15HT, 3 = 12mm, 4 = HT12
|
||||||
// TODO: Confirm that 4 is 12HT and update ParseTubingTypeV3.
|
// TODO: Confirm that 4 is 12HT and update ParseTubingTypeV3.
|
||||||
this->ParseTubingTypeV3(data[pos]);
|
this->ParseTubingTypeV3(data[pos]);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user