add peripherals module which has shared state of all peripherals

This commit was merged in pull request #47.
This commit is contained in:
2026-08-29 17:57:08 +00:00
parent 282bcd163c
commit a31c818b37
18 changed files with 207 additions and 99 deletions
+11
View File
@@ -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>,
}