From f973881e60b84f25dc5b57671c8e7203317c3160 Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Tue, 2 Feb 2021 01:50:14 +1300 Subject: [PATCH] Add 'avr_delay' as a dependency and expose crate --- Cargo.toml | 1 + src/lib.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c63b3d7..06683a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,7 @@ all-mcus = [] [dependencies] avr-config = "1.0" +avr_delay = "0.3" avr-std-stub = { version = "1.0", optional = true } const_env--value = "0.1" target-cpu-macro = "0.1" diff --git a/src/lib.rs b/src/lib.rs index 467e171..5015fe9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,6 +26,9 @@ pub mod modules; /// Configuration for the currently-targeted microcontroller. pub use avr_config as config; +/// Delay routines. +pub use avr_delay as delay; + mod register; mod pin;