- * -------------------------------------------------------------------
- * ORTE
- * Open Real-Time Ethernet
- *
- * Copyright (C) 2001-2006
- * Department of Control Engineering FEE CTU Prague, Czech Republic
- * http://dce.felk.cvut.cz
- * http://www.ocera.org
- *
- * Author: Petr Smolik petr@smoliku.cz
- * Advisor: Pavel Pisa
- * Project Responsible: Zdenek Hanzalek
+ * -------------------------------------------------------------------
+ * ORTE
+ * Open Real-Time Ethernet
+ *
+ * Copyright (C) 2001-2006
+ * Department of Control Engineering FEE CTU Prague, Czech Republic
+ * http://dce.felk.cvut.cz
+ * http://www.ocera.org
+ *
+ * Author: Petr Smolik petr@smoliku.cz
+ * Advisor: Pavel Pisa
+ * Project Responsible: Zdenek Hanzalek
* --------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
* --------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
-int mem_check_counter=0;
-NtpTime zNtpTime,iNtpTime;
+int mem_check_counter = 0;
+NtpTime zNtpTime, iNtpTime;
- sprintf(buf, "%li.%03li", time.tv_sec,time.tv_nsec/1000000);
+ sprintf(buf, "%li.%03li", time.tv_sec, time.tv_nsec/1000000);
- gettimeofday(&time,NULL);
- sprintf(buf, "%li.%03li", time.tv_sec,time.tv_usec/1000);
+ gettimeofday(&time, NULL);
+ sprintf(buf, "%li.%03li", time.tv_sec, time.tv_usec/1000);
- sprintf(f, "%s | ",debug_log_time());
- vsprintf(f+strlen(f),format,ap);
+ sprintf(f, "%s | ", debug_log_time());
+ vsprintf(f+strlen(f), format, ap);