Added main clock initialization to STM32.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 6 May 2012 13:59:36 +0000 (13:59 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 6 May 2012 13:59:36 +0000 (13:59 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1160 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/lib/stm32f407.c

index 23425ef..167d05a 100644 (file)
@@ -46,6 +46,7 @@ uint32_t strlen(const char *s){
 
 //! Initialize the STM32F4xx ports and USB.
 void stm32f4xx_init(){
+  SystemInit();
   ioinit();
   while(1){
     ledon();