improved Horus rotary encoder driver and generic behavior (#5510)
Improved Horus rotary encoder driver
This commit is contained in:
committed by
Bertrand Songis
parent
04547a9206
commit
d13e770ac4
@@ -769,6 +769,8 @@ int getTrimValue(uint8_t phase, uint8_t idx);
|
||||
#define ROTARY_ENCODER_GRANULARITY (1)
|
||||
#elif defined(PCBSKY9X)
|
||||
#define ROTARY_ENCODER_GRANULARITY (2 << g_eeGeneral.rotarySteps)
|
||||
#elif defined(PCBHORUS)
|
||||
#define ROTARY_ENCODER_GRANULARITY (1)
|
||||
#else
|
||||
#define ROTARY_ENCODER_GRANULARITY (2)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user