Enable offset based on P-mode

This commit is contained in:
ES-Alexander 2021-07-13 17:01:39 +10:00 committed by Jacob Walser
parent 1d81eb5c47
commit 5fd32d3f36

View File

@ -65,8 +65,10 @@ private:
uint8_t _instance;
// Model-specific offset/calibration values stored in device ROM
// pressure offset used in pressure calculation
float _p_mode_offset;
// measurement range parameters used in pressure calculation
// varies based on model, stored in ROM on device
float _p_min;
float _p_max;
};