mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
stm32: Moved comment to match request_stop
This commit is contained in:
parent
907d55ea82
commit
2a9cdaabaa
@ -498,15 +498,15 @@ impl AnyChannel {
|
||||
match self.info().dma {
|
||||
#[cfg(dma)]
|
||||
DmaInfo::Dma(r) => {
|
||||
// Disable the channel without overwriting the existing configuration
|
||||
r.st(info.num).cr().modify(|w| {
|
||||
// Disable the channel without overwriting the existing configuration
|
||||
w.set_en(false);
|
||||
});
|
||||
}
|
||||
#[cfg(bdma)]
|
||||
DmaInfo::Bdma(r) => {
|
||||
// Disable the channel without overwriting the existing configuration
|
||||
r.ch(info.num).cr().modify(|w| {
|
||||
// Disable the channel without overwriting the existing configuration
|
||||
w.set_en(false);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user