fix compilation

This commit is contained in:
Thomas Göttgens 2024-05-11 18:55:23 +02:00
parent dd98a07aa0
commit 477fa85318
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#include "KbUsbImpl.h" #include "kbUsbImpl.h"
#include "InputBroker.h" #include "InputBroker.h"
#if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32C3 #if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32C3

View File

@ -2,6 +2,8 @@
#include "kbUsbBase.h" #include "kbUsbBase.h"
#include "main.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. * @brief The idea behind this class to have static methods for the event handlers.
* Check attachInterrupt() at RotaryEncoderInteruptBase.cpp * Check attachInterrupt() at RotaryEncoderInteruptBase.cpp
@ -16,4 +18,6 @@ class KbUsbImpl : public KbUsbBase
void init(); void init();
}; };
extern KbUsbImpl *kbUsbImpl; extern KbUsbImpl *kbUsbImpl;
#endif