From b9f9bac0d99ed7804479f1a12d712a93851a71ac Mon Sep 17 00:00:00 2001 From: haller Date: Wed, 4 May 2005 02:32:44 +0000 Subject: Virage d'appel de sync --- 2005/i/robert/src/proto/proto.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '2005/i/robert/src/proto/proto.cc') diff --git a/2005/i/robert/src/proto/proto.cc b/2005/i/robert/src/proto/proto.cc index 27896b3..5fc9265 100644 --- a/2005/i/robert/src/proto/proto.cc +++ b/2005/i/robert/src/proto/proto.cc @@ -96,7 +96,7 @@ Proto::send (const Frame & frame, bool reliable) } else sendFrame(frame); - sync(); + // XXX sync(); } @@ -197,8 +197,7 @@ bool Proto::wait (int timeout/*-1*/) { // On apelle serial_.wait avec un timeout toujours inf ou égal à proto::timeout_ - serial_.wait (timeout < timeout_ ? timeout : timeout_); - return sync (); + return serial_.wait (timeout < timeout_ ? timeout : timeout_); } /// Récupère les infos de l'AVR pour construire une frame -- cgit v1.2.3