mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user