master/slave.c
changeset 119 b2de89096010
parent 118 dc71ce4cc641
child 121 1cd6f7a47b72
--- a/master/slave.c	Tue Mar 21 13:57:15 2006 +0000
+++ b/master/slave.c	Tue Mar 21 14:23:23 2006 +0000
@@ -179,7 +179,7 @@
     // den Status auslesen, bis das Bit weg ist.
 
     start = get_cycles();
-    timeout = cpu_khz; // 1ms
+    timeout = (cycles_t) 100 * cpu_khz; // 100ms
 
     while (1)
     {
@@ -248,7 +248,7 @@
     // den Status auslesen, bis das Bit weg ist.
 
     start = get_cycles();
-    timeout = cpu_khz; // 1ms
+    timeout = (cycles_t) 100 * cpu_khz; // 100ms
 
     while (1)
     {
@@ -504,7 +504,7 @@
     }
 
     start = get_cycles();
-    timeout = cpu_khz; // 1ms
+    timeout = (cycles_t) 10 * cpu_khz; // 10ms
 
     while (1)
     {
@@ -568,7 +568,7 @@
     }
 
     start = get_cycles();
-    timeout = cpu_khz; // 1ms
+    timeout = (cycles_t) 10 * cpu_khz; // 10ms
 
     while (1)
     {