Skip to content

Commit

Permalink
Restructure sleep-related files
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 29, 2023
1 parent dc3ba35 commit 169bb96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ use core::{cell::RefCell, time::Duration};
use crate::gpio::RTCPinWithResistors;
use crate::{gpio::RTCPin, Rtc};

#[cfg_attr(esp32, path = "rtc/esp32_sleep.rs")]
#[cfg_attr(esp32s3, path = "rtc/esp32s3_sleep.rs")]
#[cfg_attr(esp32c3, path = "rtc/esp32c3_sleep.rs")]
mod rtc_sleep;
#[cfg_attr(esp32, path = "esp32.rs")]
#[cfg_attr(esp32s3, path = "esp32s3.rs")]
#[cfg_attr(esp32c3, path = "esp32c3.rs")]
mod sleep_impl;

pub use rtc_sleep::*;
pub use sleep_impl::*;

#[derive(Debug, Default, Clone, Copy, PartialEq)]
pub enum WakeupLevel {
Expand Down

0 comments on commit 169bb96

Please sign in to comment.