Issue #813 - S3 skipped when not available

This commit is contained in:
bsongis
2014-03-20 12:56:14 +01:00
parent 05e2c8bdf3
commit e3fb62b33e
5 changed files with 28 additions and 2 deletions
+16
View File
@@ -1605,6 +1605,22 @@ PACK(typedef struct {
#define AVR_FIELD(x) x;
#endif
enum ThrottleSources {
THROTTLE_SOURCE_THR,
#if defined(PCBTARANIS)
THROTTLE_SOURCE_S1,
THROTTLE_SOURCE_S2,
THROTTLE_SOURCE_S3,
THROTTLE_SOURCE_LS,
THROTTLE_SOURCE_RS,
#else
THROTTLE_SOURCE_P1,
THROTTLE_SOURCE_P2,
THROTTLE_SOURCE_P3,
#endif
THROTTLE_SOURCE_CH1,
};
PACK(typedef struct t_ModelData {
ModelHeader header;
TimerData timers[MAX_TIMERS];