embassy/embassy-stm32-wpan/src/mac/control.rs

22 lines
350 B
Rust
Raw Normal View History

2023-07-18 02:26:58 +02:00
use crate::mac::runner::Runner;
2023-07-16 02:15:01 +02:00
#[derive(Debug)]
pub struct Error {
pub status: u32,
}
pub struct Control<'a> {
#[allow(dead_code)]
runner: &'a Runner<'a>,
2023-07-16 02:15:01 +02:00
}
impl<'a> Control<'a> {
pub(crate) fn new(runner: &'a Runner<'a>) -> Self {
Self { runner: runner }
}
2023-07-16 02:15:01 +02:00
2023-07-18 02:26:58 +02:00
pub async fn init(&mut self) {
// TODO
2023-07-16 02:15:01 +02:00
}
}