From 405722c23d80d37939d7efa44183f477a539c602 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:33:28 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 8616c8a..510b7c8 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -20,9 +20,6 @@ extern "C" { } #define CODE_LENGTH 19 // the length of each command sent to the door. -extern byte rollingCode[CODE_LENGTH]; -extern unsigned int rollingCodeCounter; - /********************************** PIN DEFINITIONS * *****************************************/ #define OUTPUT_GDO \ @@ -41,13 +38,10 @@ extern unsigned int rollingCodeCounter; #define INPUT_RPM2 \ D2 // RPM2 rotary encoder input OR not used if using reed switch #define INPUT_OBST D7 // black obstruction sensor terminal + namespace esphome { namespace ratgdo { - - -//class RATGDOComponent; // this component - class RATGDOComponent : public Component { public: void setup() override;