From 5c4dec0870eeb277a78d85809e84fa338537afd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 23 Jun 2020 14:16:33 +0200 Subject: [PATCH] dac clr/ldac: unwrap --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f92c862..678769f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -325,9 +325,9 @@ const APP: () = { spi }; - let _dac_clr_n = gpioe.pe12.into_push_pull_output().set_high(); - let _dac0_ldac_n = gpioe.pe11.into_push_pull_output().set_low(); - let _dac1_ldac_n = gpioe.pe15.into_push_pull_output().set_low(); + let _dac_clr_n = gpioe.pe12.into_push_pull_output().set_high().unwrap(); + let _dac0_ldac_n = gpioe.pe11.into_push_pull_output().set_low().unwrap(); + let _dac1_ldac_n = gpioe.pe15.into_push_pull_output().set_low().unwrap(); let dac0_spi = { let spi_miso = gpioe