summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/asserv/test_asserv.cc
diff options
context:
space:
mode:
authordufourj2006-01-11 16:22:49 +0000
committerdufourj2006-01-11 16:22:49 +0000
commita8e25e107bfd486b945f656d5358b63259799909 (patch)
treeba3221ffb7ba784e0fb81ec67f5aa2dc37984d86 /2005/i/robert/src/asserv/test_asserv.cc
parentd4fa4d87eb2040a6da63d5570893218f3dd2dc5c (diff)
Correction des syncs
Diffstat (limited to '2005/i/robert/src/asserv/test_asserv.cc')
-rw-r--r--2005/i/robert/src/asserv/test_asserv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/2005/i/robert/src/asserv/test_asserv.cc b/2005/i/robert/src/asserv/test_asserv.cc
index 228748c..6d4e672 100644
--- a/2005/i/robert/src/asserv/test_asserv.cc
+++ b/2005/i/robert/src/asserv/test_asserv.cc
@@ -311,7 +311,8 @@ main (int argc, char **argv)
break;
}
}
- asserv.sync();
+ while (!asserv.wait ())
+ ;
break;
}
case 'w':
@@ -325,7 +326,6 @@ main (int argc, char **argv)
{
asserv.wait (stop - t);
t = Timer::getProgramTime ();
- asserv.sync();
}
break;
}