Skip to content

Commit df0e7e4

Browse files
committed
Clean up warning on unused result
1 parent cc254bb commit df0e7e4

File tree

1 file changed

+1
-1
lines changed
  • src/16-punch-o-meter/auxiliary/src

1 file changed

+1
-1
lines changed

src/16-punch-o-meter/auxiliary/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn init() -> (Lsm303dlhc, Delay, MonoTimer, ITM) {
3535
let mut nss = gpioe
3636
.pe3
3737
.into_push_pull_output(&mut gpioe.moder, &mut gpioe.otyper);
38-
nss.set_high();
38+
nss.set_high().unwrap();
3939

4040
let mut gpiob = dp.GPIOB.split(&mut rcc.ahb);
4141
let scl = gpiob.pb6.into_af4(&mut gpiob.moder, &mut gpiob.afrl);

0 commit comments

Comments
 (0)