Browse Source

Fix broken LED example (#26)

TheZoq2 5 years ago
parent
commit
b7ac48983d
1 changed files with 1 additions and 1 deletions
  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 {}
 }