Merge pull request #4046 from outfoxxed/main-macro-executor
executor: add executor selection to #[embassy_executor::main]
This commit is contained in:
@@ -44,6 +44,8 @@ mod arch;
|
||||
#[cfg(feature = "_arch")]
|
||||
#[allow(unused_imports)] // don't warn if the module is empty.
|
||||
pub use arch::*;
|
||||
#[cfg(not(feature = "_arch"))]
|
||||
pub use embassy_executor_macros::main_unspecified as main;
|
||||
|
||||
pub mod raw;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user