mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 12:55:12 +03:00
[X9E/X7D] Rotary encoder navigation speed implemented (#3724)
This commit is contained in:
parent
3cb64d984a
commit
1d735f2bd3
114 changed files with 785 additions and 865 deletions
|
@ -502,8 +502,8 @@ int cliDisplay(const char ** argv)
|
|||
name[len] = '\0';
|
||||
serialPrint("[%s] = %s", name, keyState(i) ? "on" : "off");
|
||||
}
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION) || defined(PCBX9E) || defined(PCBHORUS) || defined(PCBFLAMENCO)
|
||||
serialPrint("[Enc.] = %d", rotencValue / 2);
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||
serialPrint("[Enc.] = %d", rotencValue[0] / ROTARY_ENCODER_GRANULARITY);
|
||||
#endif
|
||||
for (int i=TRM_BASE; i<=TRM_LAST; i++) {
|
||||
serialPrint("[Trim%d] = %s", i-TRM_BASE, keyState(i) ? "on" : "off");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue