diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-22 16:54:09 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-22 20:15:01 -0800 |
commit | 20ad07d4ac82dbef90b3184a5eed9eec3cb8775f (patch) | |
tree | 1b4535cb3f8fae6f35991d627fe6379e4722ba6d /macos.c | |
parent | 713c845e5a04a5ea5a41d1d8de3dc5c16b0e8df5 (diff) | |
download | subsurface-20ad07d4ac82dbef90b3184a5eed9eec3cb8775f.tar.gz |
Fix suunto serial number confusion in libdivecomputer
libdivecomputer has started giving the Suunto serial numbers in a
different format, which means that we have the same device with two
different serial numbers, and then we need two different ways of turning
the numerical entity into a string.
Look at the number pattern to see figure out which version of the format
it is that libdivecomputer is reporting, and turn it back into the
original format so that we can reliably give the right string for it.
This also mean sthat the device ID stays the same regardless of
libdivecomputer version.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
0 files changed, 0 insertions, 0 deletions