Skip to content

Commit

Permalink
riot-rs-embassy: re-export make_static
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Jan 25, 2024
1 parent 9e05abb commit 798f04f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/riot-rs-embassy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ pub mod arch;

use core::cell::OnceCell;

// re-exports
pub use linkme::{self, distributed_slice};
pub use static_cell::make_static;

use embassy_executor::{InterruptExecutor, Spawner};
use embassy_sync::{blocking_mutex::raw::CriticalSectionRawMutex, mutex::Mutex};
Expand Down Expand Up @@ -163,8 +165,7 @@ pub(crate) fn init() {

#[embassy_executor::task]
async fn init_task(mut peripherals: arch::OptionalPeripherals) {
use static_cell::make_static;

use riot_rs_rt::debug::println;
riot_rs_rt::debug::println!("riot-rs-embassy::init_task()");

let drivers = Drivers {
Expand Down

0 comments on commit 798f04f

Please sign in to comment.