Permalink
Browse files

PJOMaster RID condition bugfix

  • Loading branch information...
gioblu committed Sep 18, 2017
1 parent 04d0c2b commit 0f1d26504fbdd0fb6fc5e01fe17a33664206124d
Showing with 3 additions and 3 deletions.
  1. +3 −3 PJONMaster.h
@@ -288,9 +288,9 @@ class PJONMaster : public PJON<Strategy> {
) {
uint8_t request = this->data[overhead - CRC_overhead];
uint32_t rid =
(uint32_t)(this->data[(overhead - CRC_overhead) + 1] << 24) |
(uint32_t)(this->data[(overhead - CRC_overhead) + 2] << 16) |
(uint32_t)(this->data[(overhead - CRC_overhead) + 3] << 8) |
(uint32_t)(this->data[(overhead - CRC_overhead) + 1]) << 24 |
(uint32_t)(this->data[(overhead - CRC_overhead) + 2]) << 16 |
(uint32_t)(this->data[(overhead - CRC_overhead) + 3]) << 8 |
(uint32_t)(this->data[(overhead - CRC_overhead) + 4]);
if(request == PJON_ID_REQUEST)

0 comments on commit 0f1d265

Please sign in to comment.