mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #3693 from DanNixon/dshot_beeper_config
Allow toggling of the DShot beeper
This commit is contained in:
commit
202b820551
4 changed files with 13 additions and 3 deletions
|
@ -156,7 +156,10 @@ PG_RESET_TEMPLATE(systemConfig_t, systemConfig,
|
|||
#endif
|
||||
|
||||
#ifdef BEEPER
|
||||
PG_REGISTER(beeperConfig_t, beeperConfig, PG_BEEPER_CONFIG, 0);
|
||||
PG_REGISTER_WITH_RESET_TEMPLATE(beeperConfig_t, beeperConfig, PG_BEEPER_CONFIG, 0);
|
||||
PG_RESET_TEMPLATE(beeperConfig_t, beeperConfig,
|
||||
.dshotForward = true
|
||||
);
|
||||
#endif
|
||||
#ifdef USE_ADC
|
||||
PG_REGISTER_WITH_RESET_FN(adcConfig_t, adcConfig, PG_ADC_CONFIG, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue