aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
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-30 07:44:21 -0700
commit625d4801f548acb4c797bf1add338a016dd34497 (patch)
tree5374fa44e43cf3327ad40a969425394c3e954351 /file.c
parentdad7181eff372c6cb4c21e21c4edffbfe8298ad3 (diff)
downloadsubsurface-625d4801f548acb4c797bf1add338a016dd34497.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 'file.c')
0 files changed, 0 insertions, 0 deletions