diff --git a/main.c b/main.c index 74bc853..7b09ea4 100644 --- a/main.c +++ b/main.c @@ -24,4 +24,13 @@ void delay(int us) STCTRL |= ENABLE | CLKINT; // Enable SysTick while ((STCTRL & (1 << 16)) == 0); // Wait until flag is set STCTRL &= ~ENABLE; // Stop the timer +} + +int main(void) +{ + systick_setting(); // SysTick setup + while (1) + { + + } } \ No newline at end of file