diff --git a/src/hrtim/control.rs b/src/hrtim/control.rs index ccbf7606..234d25d1 100644 --- a/src/hrtim/control.rs +++ b/src/hrtim/control.rs @@ -95,7 +95,9 @@ impl HrTimOngoingCalibration { common .dllcr() .modify(|_r, w| w.calrte().bits(0b00).cal().set_bit().calen().clear_bit()); - common.fltinr2().write(|w| w.fltsd().bits(flt_divider as u8)); + common + .fltinr2() + .write(|w| w.fltsd().bits(flt_divider as u8)); common.eecr3().write(|w| w.eevsd().bits(eev_divider as u8)); common.adcps1().write(|w| { diff --git a/src/serial/usart.rs b/src/serial/usart.rs index 139ddfbe..e89a3451 100644 --- a/src/serial/usart.rs +++ b/src/serial/usart.rs @@ -3,7 +3,9 @@ use core::fmt; use core::marker::PhantomData; use crate::dma::traits::Stream; -use crate::dma::{mux::DmaMuxResources, traits::TargetAddress, PeripheralToMemory, MemoryToPeripheral}; +use crate::dma::{ + mux::DmaMuxResources, traits::TargetAddress, MemoryToPeripheral, PeripheralToMemory, +}; use crate::gpio::{gpioa::*, gpiob::*, gpioc::*, gpiod::*, gpioe::*, gpiog::*}; use crate::gpio::{Alternate, AlternateOD, AF12, AF5, AF7, AF8}; use crate::prelude::*;