From 9995cf7420a59acfc3550f28a9e14fa8b08fffe5 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sat, 15 Apr 2000 11:13:54 +0000 Subject: [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 --- MatrixOrbital.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'MatrixOrbital.c') 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 #include +#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); -- cgit v1.2.3