aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stm32/src')
-rw-r--r--tests/stm32/src/bin/hsem.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/stm32/src/bin/hsem.rs b/tests/stm32/src/bin/hsem.rs
index 19648997c..fa69f22b2 100644
--- a/tests/stm32/src/bin/hsem.rs
+++ b/tests/stm32/src/bin/hsem.rs
@@ -30,6 +30,9 @@ async fn main(_spawner: Spawner) {
30 // 30 //
31 // hsem.channel_for(SemaphoreNumber::Channel5).unlock(0); 31 // hsem.channel_for(SemaphoreNumber::Channel5).unlock(0);
32 32
33 #[cfg(feature = "stm32wb55rg")]
34 let [_channel1, _channel2, mut channel5, _channel6] = hsem.split();
35 #[cfg(not(feature = "stm32wb55rg"))]
33 let [_channel1, _channel2, _channel3, _channel4, mut channel5, _channel6] = hsem.split(); 36 let [_channel1, _channel2, _channel3, _channel4, mut channel5, _channel6] = hsem.split();
34 37
35 info!("Locking channel 5"); 38 info!("Locking channel 5");