[PATCH] Skip unconnected ppo2 sensors

Jef Driesen jef at libdivecomputer.org
Thu Sep 3 05:59:16 PDT 2015


On 2015-08-31 23:06, Anton Lundin wrote:
> The HwOS devices logs ppo2 sensor values even in Auto / Fixed SP mode,
> but they log them as reading zero, if there are no sensors there.

Am I right that in this particular case all three ppo2 values are zero 
(e.g. no sensors at all)? I remember seeing that in some of the original 
OSTC memory dumps. Then it makes indeed sense to omit the ppo2 values. 
But if there is one or more non-zero values, I don't think we should 
omit just the zero ones.

Jef


More information about the devel mailing list