mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Parse basic trip and dive data from the git blobs
Some things are still missing: samples and events, and cylinder and weightsystem information. But most of the basics are there (although the lack of sample data makes a big visual impact) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
719656b438
commit
5fcb36f5a8
2 changed files with 319 additions and 11 deletions
|
@ -999,7 +999,7 @@ static int uddf_dive_match(struct dive *dive, const char *name, char *buf)
|
|||
* We don't do exponentials etc, if somebody does
|
||||
* gps locations in that format, they are insane.
|
||||
*/
|
||||
static degrees_t parse_degrees(char *buf, char **end)
|
||||
degrees_t parse_degrees(char *buf, char **end)
|
||||
{
|
||||
int sign = 1, decimals = 6, value = 0;
|
||||
degrees_t ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue