feat: play preview tone when buzzer volume changes in settings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-15 11:46:48 +02:00
parent b3c6416874
commit d02c1cf098

View File

@@ -2945,6 +2945,7 @@ void UITask::setBuzzerVolumeLevel(uint8_t level) {
if (level > 4) level = 4;
_node_prefs->buzzer_volume = level;
buzzer.setVolume(level);
buzzer.playForced("Vol:d=8,o=5,b=120:c");
_next_refresh = 0;
#endif
}