Fixing directive position
This commit is contained in:
parent
7b86a2bc42
commit
84e31ef036
|
@ -1,5 +1,9 @@
|
||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
#![allow(clippy::missing_safety_doc)]
|
#![allow(clippy::missing_safety_doc)]
|
||||||
|
|
||||||
|
// Deprecation warnings are temporarily allowed as the HAL DMA goes through updates.
|
||||||
|
#![allow(deprecated)]
|
||||||
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
#![no_main]
|
#![no_main]
|
||||||
#![cfg_attr(feature = "nightly", feature(asm))]
|
#![cfg_attr(feature = "nightly", feature(asm))]
|
||||||
|
@ -18,9 +22,6 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecation warnings are temporarily allowed as the HAL DMA goes through updates.
|
|
||||||
#![allow(deprecated)]
|
|
||||||
|
|
||||||
#[cfg(feature = "semihosting")]
|
#[cfg(feature = "semihosting")]
|
||||||
extern crate panic_semihosting;
|
extern crate panic_semihosting;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue