[stock] New Makefile option GPS=YES/NO (saves 1.5k flash if disabled)

[stock] FRSKY_BARS option renamed to GAUGES=YES/NO (it could be used for another telemetry system in the future)
This commit is contained in:
bsongis@gmail.com
2013-05-21 12:44:14 +00:00
parent 53e061ab6a
commit b0e49b8aaf
7 changed files with 55 additions and 28 deletions
+1 -1
View File
@@ -1048,7 +1048,7 @@ bool __getSwitch(int8_t swtch)
y = convertCswTelemValue(cs);
#if defined(FRSKY_HUB) && defined(FRSKY_BARS)
#if defined(FRSKY_HUB) && defined(GAUGES)
if (s == CS_VOFS) {
uint8_t idx = cs->v1-MIXSRC_FIRST_TELEM+1-TELEM_ALT;
if (idx < THLD_MAX) {