mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 10:42:49 +00:00
Revert "Rename RotaryEncoderImpl to TLoraPagerRotaryEncoder"
This reverts commit a76cc88dc2.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "input/ExpressLRSFiveWay.h"
|
||||
#include "input/InputBroker.h"
|
||||
#ifdef T_LORA_PAGER
|
||||
#include "input/TLoraPagerRotaryEncoder.h"
|
||||
#include "input/RotaryEncoderImpl.h"
|
||||
#endif
|
||||
#include "input/RotaryEncoderInterruptImpl1.h"
|
||||
#include "input/SerialKeyboardImpl.h"
|
||||
@@ -185,10 +185,10 @@ void setupModules()
|
||||
}
|
||||
#ifdef T_LORA_PAGER
|
||||
// use a special FSM based rotary encoder version for T-LoRa Pager
|
||||
tLoraPagerRotaryEncoder = new TLoraPagerRotaryEncoder();
|
||||
if (!tLoraPagerRotaryEncoder->init()) {
|
||||
delete tLoraPagerRotaryEncoder;
|
||||
tLoraPagerRotaryEncoder = nullptr;
|
||||
rotaryEncoderImpl = new RotaryEncoderImpl();
|
||||
if (!rotaryEncoderImpl->init()) {
|
||||
delete rotaryEncoderImpl;
|
||||
rotaryEncoderImpl = nullptr;
|
||||
}
|
||||
#else
|
||||
upDownInterruptImpl1 = new UpDownInterruptImpl1();
|
||||
|
||||
Reference in New Issue
Block a user