From a1e3984dfbf435c5556e2aba8ad8882c0000beb1 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 15:22:52 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 9b4cd73..ba5f103 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -35,7 +35,11 @@ namespace ratgdo { struct cmd { uint64_t fixed; - uint32_t data; + uint32_t data; + inline bool operator!=(cmd const &other) const + { + return (fixed != other.fixed || data != other.data); + } }; typedef struct {