Fix build for other variants

This commit is contained in:
WillyJL 2025-09-14 20:17:24 +02:00
parent 42e4759634
commit 20f68929c8
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#pragma once
// This is a non-interrupt version of RotaryEncoder which is based on a debounce inherent FSM table (see RotaryEncoder library)
#ifdef T_LORA_PAGER
// This is a version of RotaryEncoder which is based on a debounce inherent FSM table (see RotaryEncoder library)
#include "InputBroker.h"
#include "concurrency/OSThread.h"
@ -33,3 +35,5 @@ class RotaryEncoderImpl : public Observable<const InputEvent *>, public concurre
};
extern RotaryEncoderImpl *rotaryEncoderImpl;
#endif

View File

@ -3,7 +3,9 @@
#include "buzz/BuzzerFeedbackThread.h"
#include "input/ExpressLRSFiveWay.h"
#include "input/InputBroker.h"
#ifdef T_LORA_PAGER
#include "input/RotaryEncoderImpl.h"
#endif
#include "input/RotaryEncoderInterruptImpl1.h"
#include "input/SerialKeyboardImpl.h"
#include "input/UpDownInterruptImpl1.h"