1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

Used build #defines for some minor ROM saving. (#388)

* Used build #defines for some minor ROM saving.
* ROM saving in serial_cli.c
This commit is contained in:
Martin Budden 2016-07-24 23:52:05 +01:00 committed by Konstantin Sharlaimov
parent 6cfc15cd1a
commit cdb8cd75ef
4 changed files with 38 additions and 18 deletions

View file

@ -461,8 +461,10 @@ void mspInit(void)
activeBoxIds[activeBoxIdCount++] = BOXOSD;
#ifdef TELEMETRY
if (feature(FEATURE_TELEMETRY) && masterConfig.telemetryConfig.telemetry_switch)
activeBoxIds[activeBoxIdCount++] = BOXTELEMETRY;
#endif
#ifdef USE_SERVOS
if (masterConfig.mixerMode == MIXER_CUSTOM_AIRPLANE) {