application: Enable OSC0.
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 30 Dec 2019 10:42:18 +0000 (11:42 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000 (20:38 +0100)
Needed for UART0.

src/application/main.rs

index d2e391de174791a71f9e1324070ee6c9271c850d..e14c8f06e65eeded4d6d54539490ff6ed6510356 100644 (file)
@@ -46,6 +46,7 @@ extern {
 #[no_mangle]
 pub unsafe extern "C" fn _start() -> ! {
     clock::configure();
+    clock::enable_osc0();
     systick::init();
     port::init();