From 4b0f067e1c00b9b1e9c5fe35721ecbe72fc95c77 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:36:50 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 3e2c5a9..f17d90a 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -99,9 +99,6 @@ 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}; @@ -119,6 +116,11 @@ 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