Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #37 from forno/hotfix/invalid-check-for-id0
Browse files Browse the repository at this point in the history
Hotfix invalid check for id0
  • Loading branch information
forno committed Dec 1, 2016
2 parents 0e6346f + 18abe21 commit 7bba3bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(ics3 C CXX)

set(PROJECT_VER_MAJOR 1)
set(PROJECT_VER_MINOR 3)
set(PROJECT_VER_PATCH 0)
set(PROJECT_VER_PATCH 1)
set(PROJECT_VER "${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}.${PROJECT_VER_PATCH}")
set(PROJECT_APIVER "${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}")

Expand Down
1 change: 0 additions & 1 deletion src/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ void ics::Core::communicate(const Container& tx, Container& rx)
}
++receive;
}
if ((tx[0] & 0x7F) != *receive) throw std::runtime_error {"Receive failed: invalid target data"};
}

void ics::Core::communicateID(const IDContainerTx& tx, IDContainerRx& rx)
Expand Down

0 comments on commit 7bba3bc

Please sign in to comment.