diff options
author | reinelt <> | 2000-04-15 11:13:54 +0000 |
---|---|---|
committer | reinelt <> | 2000-04-15 11:13:54 +0000 |
commit | 9995cf7420a59acfc3550f28a9e14fa8b08fffe5 (patch) | |
tree | ae8a6348cdb49be80e7b2b39979259a74c923ce3 /MatrixOrbital.c | |
parent | 7a34aa1940680a265c074fe1c4f329eb0669d63c (diff) | |
download | lcd4linux-9995cf7420a59acfc3550f28a9e14fa8b08fffe5.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
Diffstat (limited to 'MatrixOrbital.c')
-rw-r--r-- | MatrixOrbital.c | 13 |
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); |