From b6bc997e94cba01b48e566a50d2efd7cbc0b00f0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 8 Jun 2023 11:31:47 -0500 Subject: [PATCH] write flash --- components/ratgdo/ratgdo.cpp | 1 + 1 file changed, 1 insertion(+) 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)