Skip to content

Commit a3017ae

Browse files
gschwaerDisasm
andauthored
Conditionally include sdcard module
Co-authored-by: Vadim Kaushan <[email protected]>
1 parent aa0d608 commit a3017ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ pub use gd32vf103xx_hal as hal;
1010
pub mod lcd;
1111
pub mod led;
1212
pub mod stdout;
13+
#[cfg(feature = "sdcard")]
14+
#[cfg_attr(docsrs, doc(cfg(feature = "sdcard")))]
1315
pub mod sdcard;

0 commit comments

Comments
 (0)