Huge ram saving (320bytes) + expos order change

This commit is contained in:
bsongis
2011-10-10 19:58:02 +00:00
parent f65942d83b
commit f131b0a016
6 changed files with 42 additions and 47 deletions
+3 -15
View File
@@ -58,9 +58,6 @@
#define STK_P1 5
#define STK_P2 6
#define STK_P3 7
#define NUM_TEMPLATES DIM(n_Templates)
#define NUM_TEMPLATE_MIX 8
#define TEMPLATE_NLEN 15
#define TRIM_ON 0
#define TRIM_OFF 1
@@ -73,18 +70,9 @@
#define CURVE5(x) ((x)-1)
#define CURVE9(x) (MAX_CURVE5+(x)-1)
const char n_Templates[][TEMPLATE_NLEN] = {
"Simple 4-CH",
"T-Cut",
"V-Tail",
"Elevon\\Delta",
"eCCPM",
"Heli Setup",
"Servo Test"
};
#define TEMPLATES_STR "Simple 4-CH ""T-Cut ""V-Tail ""Elevon\\Delta""eCCPM ""Heli Setup ""Servo Test "
#define TEMPLATES_LEN 12
#define NUM_TEMPLATES 7
void clearMixes();
void clearCurves();