diff options
author | reinelt <> | 2004-06-06 06:51:59 +0000 |
---|---|---|
committer | reinelt <> | 2004-06-06 06:51:59 +0000 |
commit | 39a7215e3c2b1266693d69b943fae19e8cd328ca (patch) | |
tree | 564a6ce28663224e9c1386099d3e13e3dff7da30 /drv_HD44780.c | |
parent | 149f54291b324695e7a9db0b21aec0bca97c8af9 (diff) | |
download | lcd4linux-39a7215e3c2b1266693d69b943fae19e8cd328ca.tar.gz |
[lcd4linux @ 2004-06-06 06:51:59 by reinelt]
do not display end splash screen if quiet=1
Diffstat (limited to 'drv_HD44780.c')
-rw-r--r-- | drv_HD44780.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drv_HD44780.c b/drv_HD44780.c index b646cf2..f71bab8 100644 --- a/drv_HD44780.c +++ b/drv_HD44780.c @@ -1,4 +1,4 @@ -/* $Id: drv_HD44780.c,v 1.28 2004/06/05 06:41:39 reinelt Exp $ +/* $Id: drv_HD44780.c,v 1.29 2004/06/06 06:51:59 reinelt Exp $ * * new style driver for HD44780-based displays * @@ -29,6 +29,10 @@ * * * $Log: drv_HD44780.c,v $ + * Revision 1.29 2004/06/06 06:51:59 reinelt + * + * do not display end splash screen if quiet=1 + * * Revision 1.28 2004/06/05 06:41:39 reinelt * * chancged splash screen again @@ -870,7 +874,7 @@ int drv_HD_init (char *section, int quiet) // close driver & display -int drv_HD_quit (void) { +int drv_HD_quit (int quiet) { info("%s: shutting down.", Name); @@ -880,8 +884,10 @@ int drv_HD_quit (void) { drv_HD_clear(); // say goodbye... - drv_generic_text_greet ("goodbye!", NULL); - + if (!quiet) { + drv_generic_text_greet ("goodbye!", NULL); + } + // clear all signals if (Bits==8) { drv_generic_parport_control (SIGNAL_RS|SIGNAL_RW|SIGNAL_ENABLE|SIGNAL_ENABLE2|SIGNAL_GPO, 0); |