aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.c b/main.c
index feec344..2572927 100644
--- a/main.c
+++ b/main.c
@@ -3,15 +3,15 @@
*/
#include "stm-init.h"
+#include "stm-fmc.h"
#include "stm-uart.h"
+extern void __main(void);
+
void main(void)
{
- stm_init();
- fmc_init();
- while(1) {
+ stm_init();
+ fmc_init();
__main();
- uart_send_string("\r\n");
- HAL_Delay(2000);
- }
+ uart_send_string("Done.\r\n\r\n");
}