add peripherals module which has shared state of all peripherals
This commit was merged in pull request #47.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
pub mod storage;
|
||||
|
||||
use crate::navigation::navigation::Mutex;
|
||||
use crate::peripherals::storage::store::Store;
|
||||
|
||||
use esp_hal::rtc_cntl::Rtc;
|
||||
|
||||
pub struct Peripherals {
|
||||
pub store: Mutex<Store>,
|
||||
pub rtc: Rtc<'static>,
|
||||
}
|
||||
Reference in New Issue
Block a user