mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-06-16 12:10:35 +00:00
make rustfmt happy
This commit is contained in:
parent
17ebad4a3c
commit
450b3b77a9
|
@ -176,7 +176,7 @@ impl ops::DerefMut for Timer {
|
|||
///
|
||||
/// This return an `Err`or if called more than once
|
||||
pub fn init() -> Result<Board, ()> {
|
||||
if let Some(periph) = hal::target::Peripherals::take() {
|
||||
if let Some(periph) = hal::target::Peripherals::take() {
|
||||
// NOTE(static mut) this branch runs at most once
|
||||
#[cfg(feature = "advanced")]
|
||||
static mut EP0IN_BUF: [u8; 64] = [0; 64];
|
||||
|
|
Loading…
Reference in a new issue