Anton Lundin
08dda98c29
Add utility functions to convert uints to bytes
...
Reviewed-by: Jef Driesen <jef@libdivecomputer.org>
Signed-off-by: Anton Lundin <glance@acc.umu.se>
2014-12-21 15:00:02 +01:00
Florian Klink
fc008312b5
Remove trailing whitespaces
...
Most of them appear in the disclaimers, but some are in the code as
well.
2014-03-19 09:16:07 +01:00
Jef Driesen
1e4d051b1e
Move the bin/hex conversion functions to a common file.
2013-02-04 16:51:30 +01:00
Jef Driesen
97652c6c62
Make the bcd2dec() function available to all backends.
2009-12-08 14:51:32 +00:00
Jef Driesen
421f4ed1d6
Add functions to search for markers in an array.
2009-12-03 12:43:19 +00:00
Jef Driesen
043be07af4
Improve the detection of an empty logbook ringbuffer.
...
Some devices do not appear to set the ringbuffer pointers to their
normal empty values (e.g. pointing outside the ringbuffer memory). In
that case, there appears to be a single entry. But since that entry
contains uninitialized memory (e.g. all 0xFF bytes), we are able to
detect this special situation.
2009-06-19 08:43:42 +00:00
Jef Driesen
99c3d258d4
Added byte order conversion functions (little and big endian).
2009-03-11 10:18:05 +00:00
Jef Driesen
596af5a17b
Add LGPL license headers.
2008-10-05 20:14:18 +00:00
Jef Driesen
5e8d18944a
Moved all array reversal functions to a common file.
2008-07-30 09:03:37 +00:00