lib: reduce stack usage

pull/3/head
occheung 2021-01-18 15:32:32 +08:00
parent 2ca717c94f
commit 356c3aefe2
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ pub mod tx;
pub mod smoltcp_phy;
/// Max raw frame array size
pub const RAW_FRAME_LENGTH_MAX: usize = 0x1000;
pub const RAW_FRAME_LENGTH_MAX: usize = 1518;
pub trait EthController {
fn init_dev(&mut self, delay: &mut impl DelayUs<u16>) -> Result<(), EthControllerError>;