diff --git a/components/ratgdo/__init__.py b/components/ratgdo/__init__.py index 6b64bd6..a2bec68 100644 --- a/components/ratgdo/__init__.py +++ b/components/ratgdo/__init__.py @@ -27,4 +27,9 @@ async def to_code(config): name="secplus", repository="https://github.com/bdraco/secplus", version="f98c3220356c27717a25102c0b35815ebbd26ccc", + ) + cg.add_library( + name="espsoftwareserial", + repository="https://github.com/bdraco/espsoftwareserial", + version="2f408224633316b997f82339e5b2731b1e561060", ) \ No newline at end of file diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 99e7569..7ced871 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -15,7 +15,7 @@ #define _RATGDO_H #include "rolling_code.h" -#include "../espsoftwareserial/SoftwareSerial.h" +#include "SoftwareSerial.h" SoftwareSerial swSerial;