aboutsummaryrefslogtreecommitdiffstats
path: root/drv_M50530.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-05-29 15:53:28 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-05-29 15:53:28 +0000
commitc17304852de34a6be81d931923dd9e21c637ba95 (patch)
treeee5c124a325130c45b26de74d730892fa81d459d /drv_M50530.c
parent927530dfa14e1d35abd5a564a730f4fcf598a416 (diff)
downloadlcd4linux-c17304852de34a6be81d931923dd9e21c637ba95.tar.gz
[lcd4linux @ 2004-05-29 15:53:28 by reinelt]
M50530: reset parport signals on exit plugin_ppp: ppp() has two parameters, not three lcd4linux.conf.sample: diskstats() corrected git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@445 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_M50530.c')
-rw-r--r--drv_M50530.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/drv_M50530.c b/drv_M50530.c
index e982b7d..a60ad4c 100644
--- a/drv_M50530.c
+++ b/drv_M50530.c
@@ -1,4 +1,4 @@
-/* $Id: drv_M50530.c,v 1.4 2004/05/26 11:37:36 reinelt Exp $
+/* $Id: drv_M50530.c,v 1.5 2004/05/29 15:53:28 reinelt Exp $
*
* new style driver for M50530-based displays
*
@@ -23,6 +23,12 @@
*
*
* $Log: drv_M50530.c,v $
+ * Revision 1.5 2004/05/29 15:53:28 reinelt
+ *
+ * M50530: reset parport signals on exit
+ * plugin_ppp: ppp() has two parameters, not three
+ * lcd4linux.conf.sample: diskstats() corrected
+ *
* Revision 1.4 2004/05/26 11:37:36 reinelt
*
* Curses driver ported.
@@ -342,6 +348,10 @@ int drv_M5_init (char *section)
int drv_M5_quit (void) {
info("%s: shutting down.", Name);
+
+ // clear all signals
+ drv_generic_parport_control (SIGNAL_EX|SIGNAL_IOC1|SIGNAL_IOC2|SIGNAL_GPO, 0);
+
drv_generic_parport_close();
drv_generic_text_quit();