Skip to content

Commit 1b25e04

Browse files
committed
syst small fix
1 parent ff334e7 commit 1b25e04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/start/exceptions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ fn main() -> ! {
8282
syst.set_clock_source(SystClkSource::Core);
8383
// this is configured for the LM3S6965 which has a default CPU clock of 12 MHz
8484
syst.set_reload(12_000_000);
85+
syst.clear_current();
8586
syst.enable_counter();
8687
syst.enable_interrupt();
8788

0 commit comments

Comments
 (0)