summaryrefslogtreecommitdiff
path: root/2005/i/robert/src
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src')
-rw-r--r--2005/i/robert/src/proto/proto.cc5
1 files changed, 2 insertions, 3 deletions
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