cargo fmt
This commit is contained in:
parent
3411039cb9
commit
93e047ede2
2 changed files with 8 additions and 11 deletions
|
@ -142,7 +142,6 @@ unsafe fn _get_remaining_transfers(dma: pac::bdma::Dma, ch: u8) -> u16{
|
|||
unsafe fn _set_waker(dma: pac::bdma::Dma, state_number: u8, waker: &Waker) {
|
||||
let n = state_number as usize;
|
||||
STATE.ch_wakers[n].register(waker);
|
||||
|
||||
}
|
||||
|
||||
macro_rules! dma_num {
|
||||
|
|
|
@ -155,10 +155,8 @@ unsafe fn _get_remaining_transfers(dma: &pac::dma::Dma, ch: u8) -> u16{
|
|||
unsafe fn _set_waker(dma: &pac::dma::Dma, state_number: u8, waker: &Waker) {
|
||||
let n = state_number as usize;
|
||||
STATE.ch_wakers[n].register(waker);
|
||||
|
||||
}
|
||||
|
||||
|
||||
macro_rules! dma_num {
|
||||
(DMA1) => {
|
||||
0
|
||||
|
|
Loading…
Reference in a new issue