changeset 88:5fc6a25f40ef

Disable LCD init code since this board doesn't have it.
author Daniel O'Connor <darius@dons.net.au>
date Fri, 13 Mar 2015 11:36:41 +1030
parents e30fe4bb8011
children fc21fb5b171b
files hw.c main.c
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hw.c	Fri Mar 13 11:36:26 2015 +1030
+++ b/hw.c	Fri Mar 13 11:36:41 2015 +1030
@@ -12,8 +12,10 @@
 void
 hw_init(void) {
     hw_port_cfg();
+#if 0
     lcd_init();
     lcd_setpwm(1000);
+#endif
 }
 
 static void
--- a/main.c	Fri Mar 13 11:36:26 2015 +1030
+++ b/main.c	Fri Mar 13 11:36:41 2015 +1030
@@ -138,10 +138,14 @@
 
     /* Set stdout to unbuffered */
     setvbuf(stdout, NULL, _IONBF, 0);
-    
     /* Say hello */
-    fputs("\n\n\nHello world\n", stdout);
-    
+    fputs("\n\n\n"
+	"===============\n"
+	"==== Reset ====\n"
+	"===============\n",
+	stdout);
+
+#if 0
     lcd_stripes();
     
     lcd_circle(20, 20, 20, 1, LCD_RED);		/* Bottom left */
@@ -156,7 +160,7 @@
 
     lcd_ellipse(160, 120, 50, 30, 1, LCD_WHITE);
     lcd_ellipse(160, 120, 30, 50, 1, LCD_WHITE);
-    
+#endif
     /* Setup temperature control stuff */
     tempctrl_init();