diff --git a/jtag/ChangeLog b/jtag/ChangeLog index b223ad4e..a8aa9a04 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -8,6 +8,7 @@ 2008-02-16 Kolja Waschk + * src/svf/svf.c: Small fix for computation of run_count from min_time * doc/UrJTAG.txt: Updated doc about building with FTD2XX in Cygwin * src/tap/cable.c, include/cable.h, src/tap/cable/*.c (all drivers): moved cable_set_frequency functionality from cable.c to the cable diff --git a/jtag/src/svf/svf.c b/jtag/src/svf/svf.c index cf24915d..f36bf85f 100644 --- a/jtag/src/svf/svf.c +++ b/jtag/src/svf/svf.c @@ -678,7 +678,7 @@ svf_runtest(struct runtest *params) run_count = params->run_count; frequency = cable_get_frequency(chain->cable); if (frequency > 0) { - uint32_t min_time_run_count = ceil(params->min_time / frequency); + uint32_t min_time_run_count = ceil(params->min_time * frequency); if (min_time_run_count > run_count) { run_count = min_time_run_count; }