Skip to content

Commit

Permalink
chore: use time_driver_systick configuration option to enable delay…
Browse files Browse the repository at this point in the history
… mod
  • Loading branch information
romainreignier authored and andelf committed Oct 2, 2024
1 parent 247790b commit 3c52eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mod interrupt_ext;

pub use crate::_generated::{peripherals, Peripherals};

#[cfg(any(systick_rv2, systick_rv3, systick_rv4))]
#[cfg(not(time_driver_systick))]
pub mod delay;
pub mod dma;

Expand Down

0 comments on commit 3c52eed

Please sign in to comment.