Skip to content

Commit 981379e

Browse files
authored
Add missing feature gate (#4314)
1 parent d4ea007 commit 981379e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp-rtos/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ use esp_hal::{
114114
peripherals::CPU_CTRL,
115115
system::{CpuControl, Stack},
116116
};
117+
#[cfg(feature = "embassy")]
117118
#[cfg_attr(docsrs, doc(cfg(feature = "embassy")))]
118119
pub use macros::rtos_main as main;
119120
pub(crate) use scheduler::SCHEDULER;

0 commit comments

Comments
 (0)