1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Review changes

This commit is contained in:
Bas Delfos 2017-07-10 22:59:00 +02:00
parent b0b339fe31
commit bcb0181503
2 changed files with 5 additions and 10 deletions

View file

@ -161,12 +161,12 @@ static const char * const mixerNames[] = {
// sync this with features_e
static const char * const featureNames[] = {
"RX_PPM", "UNUSED", "INFLIGHT_ACC_CAL", "RX_SERIAL", "MOTOR_STOP",
"RX_PPM", "", "INFLIGHT_ACC_CAL", "RX_SERIAL", "MOTOR_STOP",
"SERVO_TILT", "SOFTSERIAL", "GPS", "FAILSAFE",
"SONAR", "TELEMETRY", "UNUSED", "3D", "RX_PARALLEL_PWM",
"SONAR", "TELEMETRY", "", "3D", "RX_PARALLEL_PWM",
"RX_MSP", "RSSI_ADC", "LED_STRIP", "DISPLAY", "OSD",
"UNUSED", "CHANNEL_FORWARDING", "TRANSPONDER", "AIRMODE",
"UNUSED", "UNUSED", "RX_SPI", "SOFTSPI", "ESC_SENSOR", "ANTI_GRAVITY", "DYNAMIC_FILTER", NULL
"", "CHANNEL_FORWARDING", "TRANSPONDER", "AIRMODE",
"", "", "RX_SPI", "SOFTSPI", "ESC_SENSOR", "ANTI_GRAVITY", "DYNAMIC_FILTER", NULL
};
// sync this with rxFailsafeChannelMode_e
@ -1945,7 +1945,7 @@ static void cliFeature(char *cmdline)
for (uint32_t i = 0; ; i++) {
if (featureNames[i] == NULL)
break;
if (strcmp(featureNames[i], "UNUSED") != 0)
if (strcmp(featureNames[i], "") != 0) //Skip unused
cliPrintf(" %s", featureNames[i]);
}
cliPrintLinefeed();