fix(radio): issues with rotary encoder (#5194)
- detection of initial direction of encoder after startup - change of direction issue on radios with incorrectly wired encoder - handle all wiring variations (without needing special #defines) - handle the case when the radio is started with the encoder not on a detent position
This commit is contained in:
@@ -63,8 +63,6 @@ rotenc_t rotaryEncoderGetValue()
|
||||
return rotencValue / ROTARY_ENCODER_GRANULARITY;
|
||||
}
|
||||
|
||||
rotenc_t rotaryEncoderGetRawValue() { return rotencValue; }
|
||||
|
||||
// TODO: remove all STM32 defs
|
||||
|
||||
extern const etx_hal_adc_driver_t simu_adc_driver;
|
||||
|
||||
Reference in New Issue
Block a user