compile fixes
This commit is contained in:
parent
5a8d714627
commit
b9c233b05b
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue