summaryrefslogtreecommitdiff
path: root/i/marvin/src/motor/motor.cc
diff options
context:
space:
mode:
authordufourj2006-01-11 16:36:37 +0000
committerdufourj2006-01-11 16:36:37 +0000
commit4f79f26d01e196411d4d59bd6ae9dbff23706f1f (patch)
tree249160f4ebb3828d2a713d7392e8dabaa92c2d62 /i/marvin/src/motor/motor.cc
parent3cc65a4aa5299558dab3308bcba82f0480855a35 (diff)
i/marvin :
- importation des modification des sync fait dans robert. doc/subversion : - rajout de la signification de X pour le status ; - lien pour la documentation officielle.
Diffstat (limited to 'i/marvin/src/motor/motor.cc')
-rw-r--r--i/marvin/src/motor/motor.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/i/marvin/src/motor/motor.cc b/i/marvin/src/motor/motor.cc
index c292e9c..7e78aff 100644
--- a/i/marvin/src/motor/motor.cc
+++ b/i/marvin/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