diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 7134d0b..e4a1217 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -660,6 +660,7 @@ namespace ratgdo { { transmit(command); this->pref_.save(&this->rollingCodeCounter); + global_preferences->sync(); } void RATGDOComponent::register_child(RATGDOClient* obj)