mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-03 10:46:12 +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:
co-authored by
Claude Sonnet 4.6
parent
b3c6416874
commit
d02c1cf098
@@ -2945,6 +2945,7 @@ void UITask::setBuzzerVolumeLevel(uint8_t level) {
|
|||||||
if (level > 4) level = 4;
|
if (level > 4) level = 4;
|
||||||
_node_prefs->buzzer_volume = level;
|
_node_prefs->buzzer_volume = level;
|
||||||
buzzer.setVolume(level);
|
buzzer.setVolume(level);
|
||||||
|
buzzer.playForced("Vol:d=8,o=5,b=120:c");
|
||||||
_next_refresh = 0;
|
_next_refresh = 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user