Skip to content

Commit

Permalink
Merge pull request #317 from jp112sdl/master
Browse files Browse the repository at this point in the history
fixes #316
  • Loading branch information
jp112sdl authored Jan 16, 2024
2 parents b83fd61 + 0581366 commit c9e7eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MultiChannelDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class ChannelDevice : public Device<HalType,List0Type> {

// ignore repeated messages and store info if the last message came from same device
uint8_t samefromID = (lastdev == msg.from());
if (msg.isRepeated() && samefromID && lastcnt == msg.count()) {
if (samefromID && lastcnt == msg.count()) {
return false;
}
lastdev = msg.from();
Expand Down

0 comments on commit c9e7eeb

Please sign in to comment.