From 4a64f56919f0306c0cdc9a9ef3394d3acc328a94 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 15:16:25 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index a90642e..4170b3e 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -36,9 +36,9 @@ namespace ratgdo { typedef struct { uint64_t fixed; uint32_t data; - bool operator==(const command a) const + bool operator!=(const command a) const { - return (fixed == a.fixed && data == a.data); + return (fixed != a.fixed || data != a.data); } } command;