From 4ee7ccb76223d5dbdbaaaf61ddb52204a901005d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 19 Mar 2019 21:52:55 +0000 Subject: [PATCH] fix afe gain --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 771349d..44c3eff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,7 +245,7 @@ fn main() -> ! { w.moder2().output() .moder3().output() ); - gpiod.odr.modify(|_, w| + gpiog.odr.modify(|_, w| w.odr2().clear_bit() .odr3().clear_bit() );