lost comment
This commit is contained in:
parent
763e250dfe
commit
96df2fdb43
@ -251,8 +251,10 @@ impl<'d, T: Instance> Pwm<'d, T> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if n & 1 == 1 {
|
if n & 1 == 1 {
|
||||||
|
// tasks_seqstart doesnt exist in all svds so write its bit instead
|
||||||
r.tasks_seqstart[0].write(|w| unsafe { w.bits(0x01) });
|
r.tasks_seqstart[0].write(|w| unsafe { w.bits(0x01) });
|
||||||
} else {
|
} else {
|
||||||
|
// tasks_seqstart doesnt exist in all svds so write its bit instead
|
||||||
r.tasks_seqstart[1].write(|w| unsafe { w.bits(0x01) });
|
r.tasks_seqstart[1].write(|w| unsafe { w.bits(0x01) });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user