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:
@@ -40,9 +40,5 @@ void rotaryEncoderInit();
|
||||
// return impulses / granularity
|
||||
rotenc_t rotaryEncoderGetValue();
|
||||
|
||||
// returns raw # impulses
|
||||
rotenc_t rotaryEncoderGetRawValue();
|
||||
|
||||
|
||||
int8_t rotaryEncoderGetAccel();
|
||||
void rotaryEncoderResetAccel();
|
||||
|
||||
Reference in New Issue
Block a user