pulse channel control register empty bits are high rather than low
This commit is contained in:
parent
20f324caa8
commit
0f38e89312
|
@ -268,7 +268,7 @@ impl PwmChannel {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(super) fn get_control(&self) -> u8 {
|
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) {
|
fn set_wave_timer(&mut self) {
|
||||||
|
|
Loading…
Reference in a new issue