aboutsummaryrefslogtreecommitdiffstats
path: root/MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-04-15 11:13:54 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-04-15 11:13:54 +0000
commit24f64dfa553a9b713aeb3c1a1f1592ab7973f85e (patch)
treeae8a6348cdb49be80e7b2b39979259a74c923ce3 /MatrixOrbital.c
parent6dfd10e9f5aef7c0411aaf0c0de775a3c011e33a (diff)
downloadlcd4linux-24f64dfa553a9b713aeb3c1a1f1592ab7973f85e.tar.gz
[lcd4linux @ 2000-04-15 11:13:54 by reinelt]
added '-d' (debugging) switch added several debugging messages removed config entry 'Delay' for HD44780 driver delay loop for HD44780 will be calibrated automatically git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@45 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'MatrixOrbital.c')
-rw-r--r--MatrixOrbital.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/MatrixOrbital.c b/MatrixOrbital.c
index b9575b2..5096ee0 100644
--- a/MatrixOrbital.c
+++ b/MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: MatrixOrbital.c,v 1.16 2000/04/13 06:09:52 reinelt Exp $
+/* $Id: MatrixOrbital.c,v 1.17 2000/04/15 11:13:54 reinelt Exp $
*
* driver for Matrix Orbital serial display modules
*
@@ -20,6 +20,13 @@
*
*
* $Log: MatrixOrbital.c,v $
+ * Revision 1.17 2000/04/15 11:13:54 reinelt
+ *
+ * added '-d' (debugging) switch
+ * added several debugging messages
+ * removed config entry 'Delay' for HD44780 driver
+ * delay loop for HD44780 will be calibrated automatically
+ *
* Revision 1.16 2000/04/13 06:09:52 reinelt
*
* added BogoMips() to system.c (not used by now, maybe sometimes we can
@@ -103,6 +110,7 @@
#include <termios.h>
#include <fcntl.h>
+#include "debug.h"
#include "cfg.h"
#include "lock.h"
#include "display.h"
@@ -419,6 +427,8 @@ int MO_init (LCD *Self)
return -1;
}
+ debug ("using port %s at %d baud\n", Port, atoi(speed));
+
Device=MO_open();
if (Device==-1) return -1;
@@ -561,6 +571,7 @@ int lcd_hello (void); // prototype from lcd4linux.c
static void MO_quit (int signal)
{
+ debug ("got signal %d\n", signal);
MO_clear();
lcd_hello();
close (Device);