forked from M-Labs/zynq-rs
1
0
Fork 0

compile fixes

This commit is contained in:
Astro 2019-07-01 00:15:17 +02:00
parent 5a8d714627
commit b9c233b05b
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
use crate::regs::*; use crate::regs::*;
use crate::slcr; use crate::slcr;
use crate::println;
pub mod phy; pub mod phy;
mod regs; mod regs;

View File

@ -1,5 +1,6 @@
use core::ops::{Deref, DerefMut}; use core::ops::{Deref, DerefMut};
use crate::{register, register_bit, register_bits, register_bits_typed, regs::*}; use crate::{register, register_bit, register_bits, register_bits_typed, regs::*};
use crate::println;
use super::{MTU, regs}; use super::{MTU, regs};
/// Descriptor entry /// Descriptor entry
@ -52,7 +53,6 @@ impl<'a> DescList<'a> {
// every frame contains 1 packet // every frame contains 1 packet
.last_buffer(true) .last_buffer(true)
); );
);
} }
DescList { DescList {