Subversion Repositories NaviCtrl

Rev

Rev 516 | Rev 536 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 516 Rev 530
Line 397... Line 397...
397
                                                }
397
                                                }
398
                                                else // successful log
398
                                                else // successful log
399
                                                {
399
                                                {
400
                                                        if(ErrorCode != old_errorcode || CheckDelay(flushtimer))
400
                                                        if(ErrorCode != old_errorcode || CheckDelay(flushtimer))
401
                                                        {
401
                                                        {
-
 
402
                                                                if(ErrorCode) { while(++part < 9) GPX_LoggGPSCoordinates(&logfile,part); }; // close this chapter 
402
                                                                if(ErrorCode != old_errorcode) flushtimer = SetDelay(1000);
403
                                                                if(ErrorCode != old_errorcode) flushtimer = SetDelay(1000);
403
                                                                else flushtimer = SetDelay(LOG_FLUSH_INTERVAL);
404
                                                                else flushtimer = SetDelay(LOG_FLUSH_INTERVAL);
404
                                                                fflush_(logfile.file);
405
                                                                fflush_(logfile.file);
405
                                                                old_errorcode = ErrorCode;
406
                                                                old_errorcode = ErrorCode;
406
                                                        }
407
                                                        }