mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Assume CURVES are always defined
This commit is contained in:
parent
e76d1d0c3d
commit
cbf60380f2
12 changed files with 0 additions and 41 deletions
|
@ -166,11 +166,7 @@
|
|||
#define CASE_FLIGHT_MODES(x)
|
||||
#endif
|
||||
|
||||
#if defined(CURVES)
|
||||
#define CASE_CURVES(x) x,
|
||||
#else
|
||||
#define CASE_CURVES(x)
|
||||
#endif
|
||||
|
||||
#if defined(GVARS)
|
||||
#define CASE_GVARS(x) x,
|
||||
|
@ -974,10 +970,6 @@ struct point_t
|
|||
coord_t y;
|
||||
};
|
||||
point_t getPoint(uint8_t i);
|
||||
#if !defined(CURVES)
|
||||
#define LOAD_MODEL_CURVES()
|
||||
#define applyCurve(x, idx) (x)
|
||||
#else
|
||||
typedef CurveData CurveInfo;
|
||||
void loadCurves();
|
||||
#define LOAD_MODEL_CURVES() loadCurves()
|
||||
|
@ -988,7 +980,6 @@ int applyCurrentCurve(int x);
|
|||
int8_t getCurveX(int noPoints, int point);
|
||||
void resetCustomCurveX(int8_t * points, int noPoints);
|
||||
bool moveCurve(uint8_t index, int8_t shift); // TODO bool?
|
||||
#endif
|
||||
|
||||
#define APPLY_EXPOS_EXTRA_PARAMS_INC , uint8_t ovwrIdx=0, int16_t ovwrValue=0
|
||||
#define APPLY_EXPOS_EXTRA_PARAMS , uint8_t ovwrIdx, int16_t ovwrValue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue