mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 04:45:17 +03:00
Cosmetics
This commit is contained in:
parent
8a185ddd28
commit
6ce9f8644d
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ void interrupt10ms(void)
|
|||
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||
static rotenc_t rePreviousValue;
|
||||
|
||||
rotenc_t reNewValue = (rotencValue / ROTARY_ENCODER_GRANULARITY);
|
||||
int8_t scrollRE = reNewValue - rePreviousValue;
|
||||
if (scrollRE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue