Changed free-run frequency to HZ.
authorFlorian Pose <fp@igh-essen.com>
Fri, 19 May 2006 13:38:16 +0000
changeset 252 111a5c195b8d
parent 251 c1d0b63a9302
child 253 6dd3e49dbb85
Changed free-run frequency to HZ.
master/master.c
--- a/master/master.c	Fri May 19 13:23:11 2006 +0000
+++ b/master/master.c	Fri May 19 13:38:16 2006 +0000
@@ -683,7 +683,7 @@
 
     master->mode = EC_MASTER_MODE_FREERUN;
     ec_fsm_reset(&master->fsm);
-    queue_delayed_work(master->workqueue, &master->freerun_work, HZ / 100);
+    queue_delayed_work(master->workqueue, &master->freerun_work, 1);
 }
 
 /*****************************************************************************/
@@ -731,7 +731,7 @@
     // release master lock
     spin_unlock_bh(&master->internal_lock);
 
-    queue_delayed_work(master->workqueue, &master->freerun_work, HZ / 100);
+    queue_delayed_work(master->workqueue, &master->freerun_work, 1);
 }
 
 /*****************************************************************************/