Fix some warnings.
This commit is contained in:
parent
de796d3e80
commit
90476ef900
@ -40,7 +40,7 @@ async fn run() {
|
|||||||
let ppi = hal::ppi::Parts::new(p.PPI);
|
let ppi = hal::ppi::Parts::new(p.PPI);
|
||||||
|
|
||||||
let irq = interrupt::take!(UARTE0_UART0);
|
let irq = interrupt::take!(UARTE0_UART0);
|
||||||
let mut u = buffered_uarte::BufferedUarte::new(
|
let u = buffered_uarte::BufferedUarte::new(
|
||||||
p.UARTE0,
|
p.UARTE0,
|
||||||
p.TIMER0,
|
p.TIMER0,
|
||||||
ppi.ppi0,
|
ppi.ppi0,
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#![feature(generic_associated_types)]
|
#![feature(generic_associated_types)]
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
#![feature(type_alias_impl_trait)]
|
#![feature(type_alias_impl_trait)]
|
||||||
|
#![allow(incomplete_features)]
|
||||||
|
|
||||||
#[cfg(not(any(
|
#[cfg(not(any(
|
||||||
feature = "52810",
|
feature = "52810",
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#![feature(generic_associated_types)]
|
#![feature(generic_associated_types)]
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
#![feature(type_alias_impl_trait)]
|
#![feature(type_alias_impl_trait)]
|
||||||
|
#![allow(incomplete_features)]
|
||||||
|
|
||||||
#[cfg(not(any(
|
#[cfg(not(any(
|
||||||
feature = "stm32f401",
|
feature = "stm32f401",
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
#![feature(const_fn_fn_ptr_basics)]
|
#![feature(const_fn_fn_ptr_basics)]
|
||||||
#![feature(const_option)]
|
#![feature(const_option)]
|
||||||
|
#![allow(incomplete_features)]
|
||||||
|
|
||||||
// This mod MUST go first, so that the others see its macros.
|
// This mod MUST go first, so that the others see its macros.
|
||||||
pub(crate) mod fmt;
|
pub(crate) mod fmt;
|
||||||
|
Loading…
Reference in New Issue
Block a user