forked from M-Labs/zynq-rs
fix some compilation warnings
This commit is contained in:
parent
7b78bc0494
commit
f8785c3f07
@ -3,8 +3,7 @@
|
|||||||
|
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
|
|
||||||
use alloc::{borrow::ToOwned, collections::BTreeMap, format};
|
use alloc::collections::BTreeMap;
|
||||||
use core::task::Poll;
|
|
||||||
use libasync::{
|
use libasync::{
|
||||||
delay,
|
delay,
|
||||||
smoltcp::{Sockets, TcpStream},
|
smoltcp::{Sockets, TcpStream},
|
||||||
@ -17,7 +16,6 @@ use libboard_zynq::{
|
|||||||
print, println,
|
print, println,
|
||||||
sdio::sd_card::SdCard,
|
sdio::sd_card::SdCard,
|
||||||
smoltcp::{
|
smoltcp::{
|
||||||
self,
|
|
||||||
iface::{EthernetInterfaceBuilder, NeighborCache, Routes},
|
iface::{EthernetInterfaceBuilder, NeighborCache, Routes},
|
||||||
time::Instant,
|
time::Instant,
|
||||||
wire::{EthernetAddress, IpAddress, IpCidr},
|
wire::{EthernetAddress, IpAddress, IpCidr},
|
||||||
@ -112,7 +110,7 @@ pub fn main_core0() {
|
|||||||
}
|
}
|
||||||
println!("");
|
println!("");
|
||||||
}
|
}
|
||||||
let mut flash = flash.stop();
|
let _flash = flash.stop();
|
||||||
|
|
||||||
let timer = libboard_zynq::timer::GlobalTimer::start();
|
let timer = libboard_zynq::timer::GlobalTimer::start();
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use super::clocks::Clocks;
|
|
||||||
use super::time::Milliseconds;
|
use super::time::Milliseconds;
|
||||||
use crate::slcr;
|
use crate::slcr;
|
||||||
use embedded_hal::timer::CountDown;
|
use embedded_hal::timer::CountDown;
|
||||||
|
Loading…
Reference in New Issue
Block a user