From ddba302bb0048ac62c4673318a1821ae67e14879 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Oct 2023 13:05:29 -0700 Subject: Fix WFX channel matching in uhjencoder --- utils/uhjencoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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; -- cgit v1.2.3