mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Merge pull request #9691 from mikeller/add_common_hardware_settings
Added the most common (reasonable) hardware settings to 'dump hardware'.
This commit is contained in:
commit
97ad043f9e
2 changed files with 12 additions and 12 deletions
|
@ -6158,6 +6158,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";
|
||||
|
@ -6184,8 +6188,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");
|
||||
|
||||
|
@ -6196,8 +6198,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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue