diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-01-11 16:38:44 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-01-11 16:56:08 +0100 |
| commit | 15f94fb0fc70463b9a50c997083fee3f5758b17a (patch) | |
| tree | 17ccb5d369a9e7b0d2dbe0c7e39804b7f1f65458 /embassy-rp/src/lib.rs | |
| parent | dcffad6b05a06bc5f4d09a35184d5ffe158e02cf (diff) | |
time: split driver into a separate embassy-time-driver crate.
Diffstat (limited to 'embassy-rp/src/lib.rs')
| -rw-r--r-- | embassy-rp/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs index 0a3714777..46973fdc8 100644 --- a/embassy-rp/src/lib.rs +++ b/embassy-rp/src/lib.rs | |||
| @@ -30,7 +30,7 @@ pub mod rom_data; | |||
| 30 | pub mod rtc; | 30 | pub mod rtc; |
| 31 | pub mod spi; | 31 | pub mod spi; |
| 32 | #[cfg(feature = "time-driver")] | 32 | #[cfg(feature = "time-driver")] |
| 33 | pub mod timer; | 33 | pub mod time_driver; |
| 34 | pub mod uart; | 34 | pub mod uart; |
| 35 | pub mod usb; | 35 | pub mod usb; |
| 36 | pub mod watchdog; | 36 | pub mod watchdog; |
| @@ -344,7 +344,7 @@ pub fn init(config: config::Config) -> Peripherals { | |||
| 344 | unsafe { | 344 | unsafe { |
| 345 | clocks::init(config.clocks); | 345 | clocks::init(config.clocks); |
| 346 | #[cfg(feature = "time-driver")] | 346 | #[cfg(feature = "time-driver")] |
| 347 | timer::init(); | 347 | time_driver::init(); |
| 348 | dma::init(); | 348 | dma::init(); |
| 349 | gpio::init(); | 349 | gpio::init(); |
| 350 | } | 350 | } |
