Fixing style
This commit is contained in:
parent
63a2220fa0
commit
90ef0836af
|
@ -4,7 +4,6 @@ use stm32h7xx_hal::time::Hertz;
|
||||||
|
|
||||||
/// A simple clock for counting elapsed milliseconds.
|
/// A simple clock for counting elapsed milliseconds.
|
||||||
pub struct CycleCounter {
|
pub struct CycleCounter {
|
||||||
|
|
||||||
// The time of the next millisecond in the system.
|
// The time of the next millisecond in the system.
|
||||||
next_tick: Option<Instant>,
|
next_tick: Option<Instant>,
|
||||||
|
|
||||||
|
@ -16,7 +15,6 @@ pub struct CycleCounter {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CycleCounter {
|
impl CycleCounter {
|
||||||
|
|
||||||
/// Construct the cycle counting clock.
|
/// Construct the cycle counting clock.
|
||||||
///
|
///
|
||||||
/// # Args
|
/// # Args
|
||||||
|
|
Loading…
Reference in New Issue