summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/motor/motor.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/motor/motor.cc
parentd4fa4d87eb2040a6da63d5570893218f3dd2dc5c (diff)
Correction des syncs
Diffstat (limited to '2005/i/robert/src/motor/motor.cc')
-rw-r--r--2005/i/robert/src/motor/motor.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/2005/i/robert/src/motor/motor.cc b/2005/i/robert/src/motor/motor.cc
index c292e9c..7e78aff 100644
--- a/2005/i/robert/src/motor/motor.cc
+++ b/2005/i/robert/src/motor/motor.cc
@@ -206,9 +206,11 @@ bool Motor::sync(void)
return false;
}
-void Motor::wait(int timeout)
+bool
+Motor::wait(int timeout)
{
asserv_.wait(timeout);
+ return sync ();
}
/// Récupère le File Descriptor