Fix clippy lint

This commit is contained in:
Gwilym Kuiper 2021-11-22 19:33:09 +00:00
parent a331909370
commit 69e3c299ca

View file

@ -41,7 +41,7 @@ impl<'a> Mixer<'a> {
}
pub fn enable(&mut self) {
hw::set_timer_counter_for_frequency_and_enable(&mut self.timer, SOUND_FREQUENCY);
hw::set_timer_counter_for_frequency_and_enable(self.timer, SOUND_FREQUENCY);
hw::set_sound_control_register_for_mixer();
}