add coin chirp when you click the volume button
This commit is contained in:
parent
d8477e3d2d
commit
3265325d28
1 changed files with 3 additions and 0 deletions
|
|
@ -566,6 +566,9 @@ impl App {
|
||||||
self.settings.volume.next();
|
self.settings.volume.next();
|
||||||
#[cfg(feature = "enable_print")]
|
#[cfg(feature = "enable_print")]
|
||||||
println!("new volume: {:?}", self.settings.volume);
|
println!("new volume: {:?}", self.settings.volume);
|
||||||
|
self.services
|
||||||
|
.sequencer
|
||||||
|
.play_sequence(&crate::sequences::COIN_CHIRP, 0);
|
||||||
self.timers.shutdown_timer.reset();
|
self.timers.shutdown_timer.reset();
|
||||||
self.timers.shutdown_timer.enable(true);
|
self.timers.shutdown_timer.enable(true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue