cargo fmt

This commit is contained in:
Joshua Salzedo 2021-09-28 19:35:07 -07:00 committed by Dario Nieuwenhuis
parent 3411039cb9
commit 93e047ede2
2 changed files with 8 additions and 11 deletions

View file

@ -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 {

View file

@ -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