aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBLCD.c
diff options
context:
space:
mode:
authorreinelt <>2004-06-06 06:51:59 +0000
committerreinelt <>2004-06-06 06:51:59 +0000
commit39a7215e3c2b1266693d69b943fae19e8cd328ca (patch)
tree564a6ce28663224e9c1386099d3e13e3dff7da30 /drv_USBLCD.c
parent149f54291b324695e7a9db0b21aec0bca97c8af9 (diff)
downloadlcd4linux-39a7215e3c2b1266693d69b943fae19e8cd328ca.tar.gz
[lcd4linux @ 2004-06-06 06:51:59 by reinelt]
do not display end splash screen if quiet=1
Diffstat (limited to '')
-rw-r--r--drv_USBLCD.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drv_USBLCD.c b/drv_USBLCD.c
index d7d05c5..ec4d39d 100644
--- a/drv_USBLCD.c
+++ b/drv_USBLCD.c
@@ -1,4 +1,4 @@
-/* $Id: drv_USBLCD.c,v 1.9 2004/06/05 14:56:48 reinelt Exp $
+/* $Id: drv_USBLCD.c,v 1.10 2004/06/06 06:51:59 reinelt Exp $
*
* new style driver for USBLCD displays
*
@@ -26,6 +26,10 @@
*
*
* $Log: drv_USBLCD.c,v $
+ * Revision 1.10 2004/06/06 06:51:59 reinelt
+ *
+ * do not display end splash screen if quiet=1
+ *
* Revision 1.9 2004/06/05 14:56:48 reinelt
*
* Cwlinux splash screen fixed
@@ -389,7 +393,7 @@ int drv_UL_init (char *section, int quiet)
// close driver & display
-int drv_UL_quit (void)
+int drv_UL_quit (int quiet)
{
info("%s: shutting down.", Name);
@@ -403,8 +407,10 @@ int drv_UL_quit (void)
drv_UL_clear();
// say goodbye...
- drv_generic_text_greet ("goodbye!", NULL);
-
+ if (!quiet) {
+ drv_generic_text_greet ("goodbye!", NULL);
+ }
+
debug ("closing port %s", Port);
close(usblcd_file);