summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/proto
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/proto')
-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;