From 3f7e2cca93003931a8670d35660ffad1b23fc795 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:34:44 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 9bb14fe..6ac1c04 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -13,6 +13,7 @@ #pragma once #include "esphome/core/component.h" +#include "esphome/core/preferences.h" #include "SoftwareSerial.h" @@ -72,7 +73,7 @@ class RATGDOComponent : public Component { /********************************** FUNCTION DECLARATION * *****************************************/ - void set_rolling_codes(bool useRollingCodes) + void set_rolling_codes(bool useRollingCodes); void transmit(byte *payload, unsigned int length); void sync(); void openDoor();