Commit 70724233 by Hideaki Tai

fix bug for ID == 6

parent 0ef4dccc
...@@ -108,7 +108,7 @@ public: ...@@ -108,7 +108,7 @@ public:
buffer.data[buffer.size] = data; buffer.data[buffer.size] = data;
++buffer.size; ++buffer.size;
#else #else
if (buffer.id < 6) if ((buffer.id > 0) && (buffer.id < 7))
{ {
if (data == BorderXBeeProtocol::BYTE_FOOTER) if (data == BorderXBeeProtocol::BYTE_FOOTER)
{ {
......
  • Markdown is supported
    0% or
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or sign in to comment