diff --git a/src/input/kbUsbImpl.cpp b/src/input/kbUsbImpl.cpp index a96997c90..6c78ced75 100644 --- a/src/input/kbUsbImpl.cpp +++ b/src/input/kbUsbImpl.cpp @@ -1,4 +1,4 @@ -#include "KbUsbImpl.h" +#include "kbUsbImpl.h" #include "InputBroker.h" #if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32C3 diff --git a/src/input/kbUsbImpl.h b/src/input/kbUsbImpl.h index 42028e184..63c97fbb0 100644 --- a/src/input/kbUsbImpl.h +++ b/src/input/kbUsbImpl.h @@ -2,6 +2,8 @@ #include "kbUsbBase.h" #include "main.h" +#if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32C3 + /** * @brief The idea behind this class to have static methods for the event handlers. * Check attachInterrupt() at RotaryEncoderInteruptBase.cpp @@ -16,4 +18,6 @@ class KbUsbImpl : public KbUsbBase void init(); }; -extern KbUsbImpl *kbUsbImpl; \ No newline at end of file +extern KbUsbImpl *kbUsbImpl; + +#endif \ No newline at end of file