<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
The master doesn't compile fsm_master.c if you don't have EC_HAVE_CYCLES<BR>
<BR>
should dc_jiffies_app_time have been dc_jiffies_app_start_time ?<BR>
<BR>
#ifdef EC_HAVE_CYCLES<BR>
correction =<BR>
(datagram->cycles_sent - slave->master->dc_cycles_app_start_time)<BR>
* 1000000LL;<BR>
do_div(correction,cpu_khz);<BR>
#else<BR>
correction =<BR>
// (u64) ((datagram->jiffies_sent-slave->master->dc_jiffies_app_time) * 1000 / HZ)<BR>
(u64) ((datagram->jiffies_sent-slave->master->dc_jiffies_app_start_time) * 1000 / HZ)<BR>
* 1000000;<BR>
#endif<BR>
<BR>
</BODY>
</HTML>