From 718237ae841803d77c289c1faeb664ced8c4abca Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 5 Nov 2023 18:24:02 -0600 Subject: [PATCH] Increase max client id to 0xFFFFFFFF (#94) --- components/ratgdo/number/ratgdo_number.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ratgdo/number/ratgdo_number.cpp b/components/ratgdo/number/ratgdo_number.cpp index 1c13554..d5e6046 100644 --- a/components/ratgdo/number/ratgdo_number.cpp +++ b/components/ratgdo/number/ratgdo_number.cpp @@ -69,8 +69,7 @@ namespace ratgdo { } else if (this->number_type_ == RATGDO_ROLLING_CODE_COUNTER) { this->traits.set_max_value(0xfffffff); } else if (this->number_type_ == RATGDO_CLIENT_ID) { - // not sure how large remote_id can be, assuming not more than 24 bits - this->traits.set_max_value(0xffffff); + this->traits.set_max_value(0xFFFFFFFF); } }