Increase max client id to 0xFFFFFFFF (#94)

This commit is contained in:
J. Nick Koston 2023-11-05 18:24:02 -06:00 committed by GitHub
parent 66ba19e69e
commit 718237ae84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@ namespace ratgdo {
} else if (this->number_type_ == RATGDO_ROLLING_CODE_COUNTER) { } else if (this->number_type_ == RATGDO_ROLLING_CODE_COUNTER) {
this->traits.set_max_value(0xfffffff); this->traits.set_max_value(0xfffffff);
} else if (this->number_type_ == RATGDO_CLIENT_ID) { } 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(0xFFFFFFFF);
this->traits.set_max_value(0xffffff);
} }
} }