Add timeout macro to simplify timeout logic

This commit is contained in:
Jeremy Soller
2020-02-20 21:09:10 -07:00
parent 85e7225e95
commit 369a695bd9
5 changed files with 76 additions and 44 deletions

View File

@@ -1,7 +1,16 @@
#![no_std]
pub mod ec;
pub mod error;
pub mod pmc;
pub mod super_io;
pub mod timeout;
pub use self::ec::Ec;
mod ec;
pub use self::error::Error;
mod error;
pub use self::pmc::Pmc;
mod pmc;
pub use self::super_io::SuperIo;
mod super_io;
pub use self::timeout::Timeout;
mod timeout;