aboutsummaryrefslogtreecommitdiffstats
path: root/drv_M50530.c
diff options
context:
space:
mode:
authorreinelt <>2004-05-29 15:53:28 +0000
committerreinelt <>2004-05-29 15:53:28 +0000
commitd7fd204c704a9926c34919c5e9110739c550fb32 (patch)
treeee5c124a325130c45b26de74d730892fa81d459d /drv_M50530.c
parent194401c2586eec62124bc331975593be840f3045 (diff)
downloadlcd4linux-d7fd204c704a9926c34919c5e9110739c550fb32.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
Diffstat (limited to '')
-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();