Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/io/beeper.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ void beeperUpdate(timeUs_t currentTimeUs)
if (!beeperIsOn) {
#ifdef USE_DSHOT
if (isMotorProtocolDshot() && !areMotorsRunning() && beeperConfig()->dshot_beeper_enabled
&& currentTimeUs - lastDshotBeeperCommandTimeUs > getDShotBeaconGuardDelayUs())
&& currentTimeUs - lastDshotBeeperCommandTimeUs > getDShotBeaconGuardDelayUs()
&& currentBeeperEntry->sequence[beeperPos] != 0 // added beeper timeout so dshot does not beep on "off"
&& !(getBeeperOffMask() & (1 << (currentBeeperEntry->mode - 1)))) // added beeper ignore to dshot beacon
{
lastDshotBeeperCommandTimeUs = currentTimeUs;
sendDShotCommand(beeperConfig()->dshot_beeper_tone);
Expand Down
Loading