aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-10-16 13:05:29 -0700
committerChris Robinson <[email protected]>2023-10-16 13:05:29 -0700
commitddba302bb0048ac62c4673318a1821ae67e14879 (patch)
treee5097af81d87b041f6ac3bc5a2b271f2f6ae68f7
parenta82c5373667aae8f9e87b9d87ef9d2dec625f2fb (diff)
Fix WFX channel matching in uhjencoder
-rw-r--r--utils/uhjencoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/uhjencoder.cpp b/utils/uhjencoder.cpp
index 91e4dbd0..154a1155 100644
--- a/utils/uhjencoder.cpp
+++ b/utils/uhjencoder.cpp
@@ -325,7 +325,7 @@ int main(int argc, char **argv)
return false;
for(const int id : a)
{
- if(std::find(b.begin(), b.end(), id) != b.end())
+ if(std::find(b.begin(), b.end(), id) == b.end())
return false;
}
return true;