aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32/src/bin/dac.rs
diff options
context:
space:
mode:
authorDion Dokter <[email protected]>2024-08-05 15:07:51 +0200
committerDion Dokter <[email protected]>2024-08-05 15:07:51 +0200
commit3cd20814501d03852a3c30facbd204dffcf048db (patch)
tree7d813088df72bffe64b40f531028f9864076fbaa /tests/stm32/src/bin/dac.rs
parent5884576b88e7ec7e26ec1c9b9f61e253cb0e5ea6 (diff)
Fix tests
Diffstat (limited to 'tests/stm32/src/bin/dac.rs')
-rw-r--r--tests/stm32/src/bin/dac.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stm32/src/bin/dac.rs b/tests/stm32/src/bin/dac.rs
index 86a68c530..88e661525 100644
--- a/tests/stm32/src/bin/dac.rs
+++ b/tests/stm32/src/bin/dac.rs
@@ -20,7 +20,7 @@ use {defmt_rtt as _, panic_probe as _};
20#[embassy_executor::main] 20#[embassy_executor::main]
21async fn main(_spawner: Spawner) { 21async fn main(_spawner: Spawner) {
22 // Initialize the board and obtain a Peripherals instance 22 // Initialize the board and obtain a Peripherals instance
23 let p: embassy_stm32::Peripherals = embassy_stm32::init(config()); 23 let p: embassy_stm32::Peripherals = init();
24 24
25 let adc = peri!(p, ADC); 25 let adc = peri!(p, ADC);
26 let dac = peri!(p, DAC); 26 let dac = peri!(p, DAC);