From b5709fe41d771910eb63db7f6cccf342ba63c50a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:35:50 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 6ac1c04..3e2c5a9 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -99,6 +99,9 @@ class RATGDOComponent : public Component { void IRAM_ATTR isrRPM1(); void IRAM_ATTR isrRPM2(); + protected: + ESPPreferenceObject pref_; + bool useRollingCodes_; /*** Static Codes ***/ byte SYNC1[] = {0x55, 0x01, 0x00, 0x61, 0x12, 0x49, 0x2c, 0x92, 0x5b, 0x24, 0x96, 0x86, 0x0b, 0x65, 0x96, 0xd9, 0x8f, 0x26, 0x4a}; @@ -116,12 +119,6 @@ class RATGDOComponent : public Component { byte LIGHT_CODE[] = {0x55, 0x01, 0x00, 0x94, 0x3f, 0xef, 0xbc, 0xfb, 0x7f, 0xbe, 0xff, 0xa6, 0x1a, 0x4d, 0xa6, 0xda, 0x8d, 0x76, 0xb1}; - - protected: - ESPPreferenceObject pref_; - bool useRollingCodes_; - - }; // RATGDOComponent } // namespace ratgdo