소스 검색

Fix broken LED example (#26)

TheZoq2 5 년 전
부모
커밋
b7ac48983d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {}
 }