update STM32H7 example code

This commit is contained in:
Robin Mueller
2026-05-12 14:35:00 +02:00
parent b1253eaad4
commit 9d15dbcf09
21 changed files with 797 additions and 109401 deletions
+2 -1
View File
@@ -169,7 +169,7 @@ impl MgmHandlerLis3Mdl {
spi_com: SpiCommunication,
shared_mgm_set: Arc<Mutex<MgmData>>,
mode_leaf_helper: ModeLeafHelper,
mode_timeout: Duration
mode_timeout: Duration,
) -> Self {
Self {
id,
@@ -533,6 +533,7 @@ mod tests {
SpiCommunication::Test(TestSpiInterface::default()),
shared_mgm_set,
mode_leaf_helper,
Duration::from_millis(200),
);
Self {
assembly_mode_request_tx,
+2 -2
View File
@@ -188,7 +188,7 @@ fn main() {
request_rx: mgm_0_mode_request_rx,
report_tx: mgm_0_mode_report_tx,
},
Duration::from_millis(1000)
Duration::from_millis(1000),
);
let mut mgm_1_handler = mgm::MgmHandlerLis3Mdl::new(
mgm::MgmId::_1,
@@ -203,7 +203,7 @@ fn main() {
request_rx: mgm_1_mode_request_rx,
report_tx: mgm_1_mode_report_tx,
},
Duration::from_millis(1000)
Duration::from_millis(1000),
);
let mut mgm_assembly = mgm_assembly::Assembly::new(
mgm_assembly::ParentQueueHelper {