Subversion Repositories NaviCtrl

Rev

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

Rev 456 Rev 485
Line 395... Line 395...
395
                                                }
395
                                                }
396
                                                else // successful log
396
                                                else // successful log
397
                                                {
397
                                                {
398
                                                        if(ErrorCode != old_errorcode || CheckDelay(flushtimer))
398
                                                        if(ErrorCode != old_errorcode || CheckDelay(flushtimer))
399
                                                        {
399
                                                        {
400
                                                            old_errorcode = ErrorCode;
400
                                                            if(ErrorCode != old_errorcode) flushtimer = SetDelay(1000);
401
                                                                flushtimer = SetDelay(LOG_FLUSH_INTERVAL);
401
                                                                else flushtimer = SetDelay(LOG_FLUSH_INTERVAL);
402
                                                                fflush_(logfile.file);
402
                                                                fflush_(logfile.file);
-
 
403
                                                                old_errorcode = ErrorCode;
403
                                                        }
404
                                                        }
404
                                                }
405
                                                }
405
                                        }
406
                                        }
406
                                        if(++part == 9) part = 0;
407
                                        if(++part == 9) part = 0;
407
//DebugOut.Analog[19] = CountMilliseconds - measure_time;
408
//DebugOut.Analog[19] = CountMilliseconds - measure_time;