From ff919b31df1baf6760c2b0662011a3e7bd8aa384 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 18:43:50 -0500 Subject: [PATCH] button --- components/ratgdo/ratgdo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 0de83a9..176c142 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -82,11 +82,11 @@ namespace ratgdo { void loop() override; void dump_config() override; - uint32_t rollingCodeCounter{ 0}; - uint32_t lastSyncedRollingCodeCounter{ 0}; + uint32_t rollingCodeCounter { 0 }; + uint32_t lastSyncedRollingCodeCounter { 0 }; uint16_t previousOpenings { 0 }; // number of times the door has been opened - uint16_t openings{0}; // number of times the door has been opened + uint16_t openings { 0 }; // number of times the door has been opened uint8_t txRollingCode[CODE_LENGTH]; uint8_t rxRollingCode[CODE_LENGTH];