lib: reduce stack usage

This commit is contained in:
occheung 2021-01-18 14:13:39 +08:00
parent 61182a8ef0
commit d7ba11611b

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>;