From b9c233b05b194e5b9221977de2068181811d7ed2 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 1 Jul 2019 00:15:17 +0200 Subject: [PATCH] compile fixes --- src/eth/mod.rs | 1 + src/eth/tx.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eth/mod.rs b/src/eth/mod.rs index 1249bd1..e84c489 100644 --- a/src/eth/mod.rs +++ b/src/eth/mod.rs @@ -1,5 +1,6 @@ use crate::regs::*; use crate::slcr; +use crate::println; pub mod phy; mod regs; diff --git a/src/eth/tx.rs b/src/eth/tx.rs index 99dca4e..45fedf7 100644 --- a/src/eth/tx.rs +++ b/src/eth/tx.rs @@ -1,5 +1,6 @@ use core::ops::{Deref, DerefMut}; use crate::{register, register_bit, register_bits, register_bits_typed, regs::*}; +use crate::println; use super::{MTU, regs}; /// Descriptor entry @@ -52,7 +53,6 @@ impl<'a> DescList<'a> { // every frame contains 1 packet .last_buffer(true) ); - ); } DescList {