mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Use Dshot beacon for BEEPER_RX_LOST_LANDING.
This commit is contained in:
parent
db8698d801
commit
4742ca04e0
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ void beeperUpdate(timeUs_t currentTimeUs)
|
|||
}
|
||||
|
||||
#ifdef USE_DSHOT
|
||||
if (!areMotorsRunning() && beeperConfig()->dshotBeaconTone && (beeperConfig()->dshotBeaconTone <= DSHOT_CMD_BEACON5) && currentBeeperEntry->mode == BEEPER_RX_SET) {
|
||||
if (!areMotorsRunning() && beeperConfig()->dshotBeaconTone && (beeperConfig()->dshotBeaconTone <= DSHOT_CMD_BEACON5) && (currentBeeperEntry->mode == BEEPER_RX_SET || currentBeeperEntry->mode == BEEPER_RX_LOST)) {
|
||||
pwmDisableMotors();
|
||||
delay(1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue