summaryrefslogtreecommitdiffstats
path: root/uemis.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-21 23:31:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-21 23:31:03 -0700
commit31b8dffbb166ca04e4b9c2e1717ab613b26261b7 (patch)
treeaac18dc57ce5cb7416a03f70f06d7b439293dca9 /uemis.h
parentf33a11bc8a73f13b193633c88f555e14aa7479b1 (diff)
downloadsubsurface-31b8dffbb166ca04e4b9c2e1717ab613b26261b7.tar.gz
Uemis downloader: don't use bogus sensor data from Uemis
Sometimes we get a sensor number of 255 - which gets turned into a tank index and then causes all kinds of havoc. Simply refuse to use a tank number larger than the maximum Subsurface has been compiled for. Oh, and use consistent variables to handle these unsigned 8 bit integers. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis.h')
0 files changed, 0 insertions, 0 deletions