fixed compiling without EC_HAVE_CYCLES (dc_jiffies_app_start_time)
authorMartin Troxler <ch1010277@ch10pc446>
Tue, 30 Nov 2010 07:37:09 +0100
changeset 2007 5da31ecf3a87
parent 2006 e69a5bb5cb48
child 2008 470342b23341
fixed compiling without EC_HAVE_CYCLES (dc_jiffies_app_start_time)
master/fsm_master.c
--- a/master/fsm_master.c	Mon Nov 29 08:18:11 2010 +0100
+++ b/master/fsm_master.c	Tue Nov 30 07:37:09 2010 +0100
@@ -1006,7 +1006,7 @@
 	do_div(correction,cpu_khz);
 #else
 	correction =
-			(u64) ((datagram->jiffies_sent-slave->master->dc_jiffies_app_time) * 1000 / HZ)
+			(u64) ((datagram->jiffies_sent-slave->master->dc_jiffies_app_start_time) * 1000 / HZ)
 			* 1000000;
 #endif