summaryrefslogtreecommitdiff
path: root/2005/i
diff options
context:
space:
mode:
authorhaller2005-04-09 23:01:54 +0000
committerhaller2005-04-09 23:01:54 +0000
commit0d54545f153fe81c6d42f9431f561522a656434e (patch)
treebd6767eede820a4a4fe7512560abd8d4af5d7616 /2005/i
parent98f2eebf37b6bed5797a35f45039e9da7542e1df (diff)
Première version qui semble marcher
Diffstat (limited to '2005/i')
-rw-r--r--2005/i/robert/src/proto/proto.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/2005/i/robert/src/proto/proto.cc b/2005/i/robert/src/proto/proto.cc
index 0df2ab5..b5e397f 100644
--- a/2005/i/robert/src/proto/proto.cc
+++ b/2005/i/robert/src/proto/proto.cc
@@ -29,7 +29,7 @@
/// Constructeur.
Proto::Proto(Receiver &receiver)
- :receiver_(receiver), tLastSend_(0), revState_(0)
+ :receiver_(receiver), tLastSend_(-1000), revState_(0)
{
}
@@ -218,7 +218,7 @@ Proto::getFrame(void)
revState_ = 3;
break;
case 3:
- *(currentFrame_.args.end()) |= static_cast<uint8_t>(
+ currentFrame_.args.back() |= static_cast<uint8_t>(
hex2digit( receivedChar ));
revState_ = 2;
break;