aboutsummaryrefslogtreecommitdiff
path: root/src/kern/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern/main.c')
-rw-r--r--src/kern/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/kern/main.c b/src/kern/main.c
index ebb2164..1eedb59 100644
--- a/src/kern/main.c
+++ b/src/kern/main.c
@@ -1,8 +1,7 @@
#include "arch.h"
-#include "kern/log.h"
-
-#include "arch/stm32l4xxx/peripherals/system.h"
#include "arch/stm32l4xxx/peripherals/clock.h"
+#include "arch/stm32l4xxx/peripherals/system.h"
+#include "kern/log.h"
void on_systick() /* Overrides weak-symbol on_systick. */
{
@@ -14,7 +13,7 @@ void on_systick() /* Overrides weak-symbol on_systick. */
/* Main function. This gets executed from the interrupt vector defined above. */
int main()
{
- klogf("Hello, World! Clock Mhz: %d\n", (uint32_t) get_clock_mhz());
+ klogf("Hello, World! Clock Mhz: %d\n", (uint32_t)get_clock_mhz());
/* Set the countdown to start from 10,000,0000. */
SCB.strv_r = 10000000;