diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-07-18 22:26:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-07-19 10:13:51 -0700 |
commit | 7e11a3537102697604dbb971a0f3800b25db5ffe (patch) | |
tree | bbe09e35746d217b062d941bd963b783dd3c2713 /stats/chartlistmodel.h | |
parent | 48c2929f480b74f50d97ea6790161e2a5446929d (diff) | |
download | subsurface-7e11a3537102697604dbb971a0f3800b25db5ffe.tar.gz |
core: add a special NO_SENSOR value for sample::sensor
The sensor member of sample refers to a cylinder from which
the pressure was read. However, some dives don't even have
a cylinder. Therefore, introduce a special NO_SENSOR value
for these dives. Since the cylinder is given as a uint8_t,
0xff seems to be a sensible choice.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/chartlistmodel.h')
0 files changed, 0 insertions, 0 deletions