diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index c211f95..7261819 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -95,7 +95,7 @@ namespace ratgdo { void RATGDOComponent::setup() { - this->pref_ = global_preferences->make_preference(734874333U); + this->pref_ = global_preferences->make_preference(this->get_object_id_hash()); if (!this->pref_.load(&this->rollingCodeCounter)) { this->rollingCodeCounter = 0; }