[BUG] When SPEAKER was enabled, setting LCD_FEEDBACK_FREQUENCY_DURATION_MS
and LCD_FEEDBACK_FREQUENCY_HZ
to zero does not turn off LCD encoder tick sound
#1213
Labels
Bug: Potential ?
Is it a bug? confirmation or more user feedback is required
Did you test with a precompiled firmware?
Yes, and the problem still exists.
Bug Description
Even though I set
LCD_FEEDBACK_FREQUENCY_DURATION_MS
andLCD_FEEDBACK_FREQUENCY_HZ
to zero in config, I still get tone on encoder click.I think the issue is that in the code below the BUZZ frequency is hard coded instead of using the above variables:
I happy to submit a quick PR where I change the 50 and the 800 to the config values. Let me know what you prefer.
Bug Timeline
Issue started when
#if ENABLED(SPEAKER) if (ui.sound_on) BUZZ(50,800);
line was introduced to the codeExpected behavior
To be able to disable the LCD UI menu feedback while keeping sound for events like filament runout on.
Actual behavior
LCD UI menu sound is tied to the sound on and off
Steps to Reproduce
and
LCD_FEEDBACK_FREQUENCY_HZ` to zero and compileVersion of Professional Firmware
20240107
Printer model
ender 3v2
Electronics
SKR mini
LCD/Controller
Dwin
Other add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
Cura
Host Software
SD Card (headless)
Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: