Move the rotation input to target.cpp

This commit is contained in:
Quency-D
2026-07-17 15:50:25 +08:00
parent b26f53a263
commit fd7b35f457
3 changed files with 5 additions and 17 deletions
-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();