summaryrefslogtreecommitdiff
path: root/2005/i/robert
diff options
context:
space:
mode:
authorhaller2005-05-04 02:32:44 +0000
committerhaller2005-05-04 02:32:44 +0000
commitb9f9bac0d99ed7804479f1a12d712a93851a71ac (patch)
tree1575f4ebedaf9fc4d524aaa936d30b90dd1eeb56 /2005/i/robert
parent1c34d302ede3696d9df925195d358185d4504fc5 (diff)
Virage d'appel de sync
Diffstat (limited to '2005/i/robert')
-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