Skip to content

Commit

Permalink
Fix beeps with Adjustment function PID profile change (#117)
Browse files Browse the repository at this point in the history
Adjust function should not confirm pid profile change with a single beep.
PID profile change does that on it's own with no beeps eq profile no.
  • Loading branch information
AndersHoglund authored Jun 13, 2024
1 parent 27b48d9 commit 327cb34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/fc/rc_adjustments.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,11 @@ void processRcAdjustments(void)
updateAdjustmentData(adjFunc, adjval);
blackboxAdjustmentEvent(adjFunc, adjval);

beeperConfirmationBeeps(1);
// PID profile change does it's own confirmation, no of beeps eq profile no,
// a single beep here will kill that.
if (adjFunc != ADJUSTMENT_PID_PROFILE) {
beeperConfirmationBeeps(1);
}
setConfigDirty();

adjState->deadTime = now + REPEAT_DELAY;
Expand Down

0 comments on commit 327cb34

Please sign in to comment.