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

-6
View File
@@ -4,9 +4,6 @@
#include <driver/rtc_io.h>
#include <helpers/ESP32Board.h>
#include <helpers/RefCountedDigitalPin.h>
#if defined(UI_HAS_ROTARY_INPUT)
#include <helpers/ui/RotaryInput.h>
#endif
#ifndef ADC_MULTIPLIER
#define ADC_MULTIPLIER 4.9f
@@ -22,9 +19,6 @@ public:
HeltecRC32Board() : periph_power(SENSOR_POWER_CTRL_PIN, SENSOR_POWER_ON){}
void begin();
#if defined(UI_HAS_ROTARY_INPUT)
RotaryInput& rotaryInput();
#endif
void onBeforeTransmit() override;
void onAfterTransmit() override;
void powerOff() override;