Fix some warnings.

This commit is contained in:
Dario Nieuwenhuis 2021-02-26 01:06:58 +01:00
parent de796d3e80
commit 90476ef900
4 changed files with 4 additions and 1 deletions

View file

@ -40,7 +40,7 @@ async fn run() {
let ppi = hal::ppi::Parts::new(p.PPI);
let irq = interrupt::take!(UARTE0_UART0);
let mut u = buffered_uarte::BufferedUarte::new(
let u = buffered_uarte::BufferedUarte::new(
p.UARTE0,
p.TIMER0,
ppi.ppi0,

View file

@ -2,6 +2,7 @@
#![feature(generic_associated_types)]
#![feature(asm)]
#![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[cfg(not(any(
feature = "52810",

View file

@ -2,6 +2,7 @@
#![feature(generic_associated_types)]
#![feature(asm)]
#![feature(type_alias_impl_trait)]
#![allow(incomplete_features)]
#[cfg(not(any(
feature = "stm32f401",

View file

@ -3,6 +3,7 @@
#![feature(const_fn)]
#![feature(const_fn_fn_ptr_basics)]
#![feature(const_option)]
#![allow(incomplete_features)]
// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;