diff options
| author | Dion Dokter <[email protected]> | 2024-08-05 15:07:51 +0200 |
|---|---|---|
| committer | Dion Dokter <[email protected]> | 2024-08-05 15:07:51 +0200 |
| commit | 3cd20814501d03852a3c30facbd204dffcf048db (patch) | |
| tree | 7d813088df72bffe64b40f531028f9864076fbaa /tests/stm32/src/bin/dac.rs | |
| parent | 5884576b88e7ec7e26ec1c9b9f61e253cb0e5ea6 (diff) | |
Fix tests
Diffstat (limited to 'tests/stm32/src/bin/dac.rs')
| -rw-r--r-- | tests/stm32/src/bin/dac.rs | 2 |
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] |
| 21 | async fn main(_spawner: Spawner) { | 21 | async 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); |
