pulse channel control register empty bits are high rather than low

This commit is contained in:
Alex Janka 2023-02-20 10:01:32 +11:00
parent 20f324caa8
commit 0f38e89312

View file

@ -268,7 +268,7 @@ impl PwmChannel {
}
pub(super) fn get_control(&self) -> u8 {
set_or_clear_bit(0, 6, self.length_enable)
set_or_clear_bit(0xFF, 6, self.length_enable)
}
fn set_wave_timer(&mut self) {