lib: reduce stack usage

master
occheung 2021-01-18 14:13:39 +08:00
parent 61182a8ef0
commit d7ba11611b
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>;