We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e630ecf + 1fd82cb commit c497d4fCopy full SHA for c497d4f
1 file changed
src/main/io/beeper.c
@@ -345,7 +345,9 @@ void beeperUpdate(timeUs_t currentTimeUs)
345
if (!beeperIsOn) {
346
#ifdef USE_DSHOT
347
if (isMotorProtocolDshot() && !areMotorsRunning() && beeperConfig()->dshot_beeper_enabled
348
- && currentTimeUs - lastDshotBeeperCommandTimeUs > getDShotBeaconGuardDelayUs())
+ && currentTimeUs - lastDshotBeeperCommandTimeUs > getDShotBeaconGuardDelayUs()
349
+ && currentBeeperEntry->sequence[beeperPos] != 0 // added beeper timeout so dshot does not beep on "off"
350
+ && !(getBeeperOffMask() & (1 << (currentBeeperEntry->mode - 1)))) // added beeper ignore to dshot beacon
351
{
352
lastDshotBeeperCommandTimeUs = currentTimeUs;
353
sendDShotCommand(beeperConfig()->dshot_beeper_tone);
0 commit comments