1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 01:05:10 +03:00

VIRTUAL_INPUTS #define removed

This commit is contained in:
Bertrand Songis 2018-07-11 18:54:05 +02:00
parent a8707baf57
commit d2697345e1
12 changed files with 27 additions and 327 deletions

View file

@ -292,11 +292,7 @@ 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
#define IS_THROTTLE_TRIM(x) (x == virtualInputsTrims[THR_STICK])
#if defined(PWR_BUTTON_PRESS)
#define pwrOffPressed() pwrPressed()