From a8e25e107bfd486b945f656d5358b63259799909 Mon Sep 17 00:00:00 2001 From: dufourj Date: Wed, 11 Jan 2006 16:22:49 +0000 Subject: Correction des syncs --- 2005/i/robert/src/motor/motor.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '2005/i/robert/src/motor/motor.cc') 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 -- cgit v1.2.3