1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Added the most common (reasonable) hardware settings to 'dump hardware'.

This commit is contained in:
mikeller 2020-04-12 00:40:23 +12:00
parent 2101326a1d
commit 15114d0e43
2 changed files with 12 additions and 12 deletions

View file

@ -6149,6 +6149,10 @@ static void printConfig(const char *cmdName, char *cmdline, bool doDiff)
#endif
#endif
printFeature(dumpMask, featureConfig_Copy.enabledFeatures, featureConfig()->enabledFeatures, "feature");
printSerial(dumpMask, &serialConfig_Copy, serialConfig(), "serial");
if (!(dumpMask & HARDWARE_ONLY)) {
#ifndef USE_QUAD_MIXER_ONLY
const char *mixerHeadingStr = "mixer";
@ -6175,8 +6179,6 @@ static void printConfig(const char *cmdName, char *cmdline, bool doDiff)
#endif
#endif
printFeature(dumpMask, featureConfig_Copy.enabledFeatures, featureConfig()->enabledFeatures, "feature");
#if defined(USE_BEEPER)
printBeeper(dumpMask, beeperConfig_Copy.beeper_off_flags, beeperConfig()->beeper_off_flags, "beeper", BEEPER_ALLOWED_MODES, "beeper");
@ -6187,8 +6189,6 @@ static void printConfig(const char *cmdName, char *cmdline, bool doDiff)
printMap(dumpMask, &rxConfig_Copy, rxConfig(), "map");
printSerial(dumpMask, &serialConfig_Copy, serialConfig(), "serial");
#ifdef USE_LED_STRIP_STATUS_MODE
printLed(dumpMask, ledStripStatusModeConfig_Copy.ledConfigs, ledStripStatusModeConfig()->ledConfigs, "led");