Move the rotation input to target.cpp

This commit is contained in:
Quency-D committed 2026-07-17 15:50:25 +08:00
1 parent 89856d934a
commit 28d3f22b07
3 files changed
+5 -17

No files matched your search

-10
View File
@@ -1,14 +1,4 @@
#include "HeltecRC32Board.h"
#if defined(UI_HAS_ROTARY_INPUT)
#include "HeltecRC32RotaryInput.h"
#endif
#if defined(UI_HAS_ROTARY_INPUT)
RotaryInput& HeltecRC32Board::rotaryInput() {
static HeltecRC32RotaryInput input(&periph_power);
return input;
}
#endif
void HeltecRC32Board::begin() {
ESP32Board::begin();