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

[all] Issue #592 - Sticky switches on all boards. Saves 62bytes on

stock!
This commit is contained in:
Bertrand Songis 2014-02-03 14:05:05 +01:00
parent 9730f8d190
commit e48c27d30a
6 changed files with 16 additions and 156 deletions

View file

@ -639,9 +639,7 @@ enum CswFunctions {
CS_DIFFEGREATER,
CS_ADIFFEGREATER,
CS_TIMER,
#if defined(CPUARM)
CS_STICKY,
#endif
CS_COUNT,
CS_MAXF = CS_COUNT-1
};
@ -656,12 +654,6 @@ enum CswFunctions {
uint8_t cswFamily(uint8_t func);
int16_t cswTimerValue(int8_t val);
#if defined(CPUARM)
#define IS_VSTICKY(val) ((val) == CS_VSTICKY)
#else
#define IS_VSTICKY(val) (0)
#endif
#define NUM_CYC 3
#define NUM_CAL_PPM 4
#define NUM_PPM 8