st3375s: linked to stdout, printf, works as an olscool VGA screen now
[cortex-from-scratch] / main.c
diff --git a/main.c b/main.c
index 30c4244..b4ed64a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -41,6 +41,9 @@ void main()
        /* Initialze basic input and output over serial */
        uart_init();
 
+       /* TFT screen */
+       tft_init();
+       
        /* Cortex M* integrated systick, can be replaced
         * by the more accurate RTC.
        systick_init();
@@ -79,8 +82,6 @@ void main()
        /* ADC Joystick module */
        // mk450_init();        
 
-       /* TFT screen */
-       tft_init();
 
        /* Start up terminal */
        terminal();