Skip to content

Commit

Permalink
fixup! fixup! fixup! initial esp32 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 27, 2024
1 parent 0d7e34b commit ea2112d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/riot-rs-embassy/src/arch/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ mod executor {
pub fn spawn<S>(&self, _token: SpawnToken<S>) -> Result<(), ()> {
Ok(())
}
pub fn must_spawn<S>(&self, _token: SpawnToken<S>) {}
}
}
pub use executor::{Executor, Spawner};
Expand Down
2 changes: 1 addition & 1 deletion src/riot-rs-embassy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub(crate) fn init() {
riot_rs_rt::debug::println!("riot-rs-embassy::init()");
let p = arch::init(Default::default());

#[cfg(any(context = "nrf52", context = "rp2040"))]
#[cfg(not(context = "esp"))]
let p = crate::arch::OptionalPeripherals::from(p);

#[cfg(any(context = "nrf52", context = "rp2040"))]
Expand Down

0 comments on commit ea2112d

Please sign in to comment.