Explorar o código

Fix broken LED example (#26)

TheZoq2 %!s(int64=5) %!d(string=hai) anos
pai
achega
b7ac48983d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/led.rs

+ 1 - 1
examples/led.rs

@@ -25,7 +25,7 @@ fn main() -> ! {
     gpioc.pc9.into_push_pull_output(&mut gpioc.crh).set_high();
 
     #[cfg(feature = "stm32f103")]
-    gpioc.pc13.into_push_pull_output(&mut gpioc.crh).set_high();
+    gpioc.pc13.into_push_pull_output(&mut gpioc.crh).set_low();
 
     loop {}
 }