[all] Issue 17 fixed (lowercase is now the default)
[all] Issue 28 fixed (10 beeps on countdown during the last 10 seconds) [all] Issue 37 fixed (Pwr+) added [all] Issue 39 fixed (Potscroll too slow) [Taranis] Bug with delays on 3 states switches [Taranis/sky9x/gruvin9x] Date & Time not always saved
This commit is contained in:
+7
-2
@@ -298,9 +298,14 @@ bool check(check_event_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t
|
||||
|
||||
#ifdef NAVIGATION_POT1
|
||||
// check pot 1 - if changed -> scroll values
|
||||
static int16_t p1val;
|
||||
static int16_t p1valprev;
|
||||
p1valdiff = (p1valprev-calibratedStick[6]) / SCROLL_POT1_TH;
|
||||
if (p1valdiff) p1valprev = calibratedStick[6];
|
||||
p1valdiff = (p1val-calibratedStick[6]) / SCROLL_POT1_TH;
|
||||
if (p1valdiff) {
|
||||
p1valdiff = (p1valprev-calibratedStick[6]) / 2;
|
||||
p1val = calibratedStick[6];
|
||||
}
|
||||
p1valprev = calibratedStick[6];
|
||||
#endif
|
||||
|
||||
#ifdef NAVIGATION_POT2
|
||||
|
||||
Reference in New Issue
Block a user