mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
Replicate center trim beep behavior also when crossing trims (#5693)
* Replicate center trim beep behavior also when crossing trims * Cosmetics
This commit is contained in:
parent
a9716a340d
commit
6bd38ce13a
3 changed files with 9 additions and 3 deletions
|
@ -338,6 +338,12 @@ void memswap(void * a, void * b, uint8_t size);
|
|||
#define IS_MULTIPOS_CALIBRATED(cal) (false)
|
||||
#endif
|
||||
|
||||
#if defined(VIRTUAL_INPUTS)
|
||||
#define IS_THROTTLE_TRIM(x) (x == virtualInputsTrims[THR_STICK])
|
||||
#else
|
||||
#define IS_THROTTLE_TRIM(x) (x == THR_STICK)
|
||||
#endif
|
||||
|
||||
#if defined(PWR_BUTTON_PRESS)
|
||||
#define pwrOffPressed() pwrPressed()
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue