mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
Fixes #1205 - Delay only applied to Play family function, with a
configurable delay, between 0 and 300ms (default is 150ms).
This commit is contained in:
parent
831cd81320
commit
e4d03b8c70
10 changed files with 52 additions and 28 deletions
|
@ -696,7 +696,14 @@ void perMain();
|
|||
NOINLINE void per10ms();
|
||||
|
||||
getvalue_t getValue(uint8_t i);
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define GETSWITCH_MIDPOS_DELAY 1
|
||||
bool getSwitch(int8_t swtch, uint8_t flags=0);
|
||||
#else
|
||||
bool getSwitch(int8_t swtch);
|
||||
#endif
|
||||
|
||||
void logicalSwitchesTimerTick();
|
||||
void logicalSwitchesReset();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue