Rev 233 | Rev 338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 233 | Rev 324 | ||
---|---|---|---|
Line 407... | Line 407... | ||
407 | while(doc->state != GPX_DOC_TRACKSEGMENT_OPENED) // automatic create document with default filename on the card. |
407 | while(doc->state != GPX_DOC_TRACKSEGMENT_OPENED) // automatic create document with default filename on the card. |
408 | { |
408 | { |
409 | switch(doc->state) |
409 | switch(doc->state) |
410 | { |
410 | { |
411 | case GPX_DOC_CLOSED: // document hasn't been opened yet therefore it will be initialized automatically |
411 | case GPX_DOC_CLOSED: // document hasn't been opened yet therefore it will be initialized automatically |
412 | retval = GPX_DocumentOpen("default.gpx",doc); // open the gpx-document with a standardname. |
412 | retval = GPX_DocumentOpen("default.gpx",doc); // open the gpx-document with a standardname. |
413 | break; |
413 | break; |
Line 414... | Line 414... | ||
414 | 414 | ||
415 | case GPX_DOC_OPENED: // if a document has been opened before but no track exists: |
415 | case GPX_DOC_OPENED: // if a document has been opened before but no track exists: |
416 | retval = GPX_TrackBegin(doc); |
416 | retval = GPX_TrackBegin(doc); |