From 477fa85318b93a734dbd1a3054227a1aaa3d6647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sat, 11 May 2024 18:55:23 +0200 Subject: [PATCH] fix compilation --- src/input/kbUsbImpl.cpp | 2 +- src/input/kbUsbImpl.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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