Rick,

> Am 24.11.2016 um 04:10 schrieb Rick Walsh <[email protected]>:
> 
> One question: is there a reason why we can't access 
> displayed_dive.dc.duration.seconds instead of creating a new function to 
> iterate through all the data points to get the runtime?

I found that displayed_dive.dc.duration.seconds as well as 
displayed_dive.duration.seconds at least sometimes is still 0 at the time when 
the notes are assembled. I did not investigate this further (maybe I should), 
but rather wrote this helper function to compute it from the struct diveplan.

Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to