aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <>2003-10-03 03:53:12 +0000
committerreinelt <>2003-10-03 03:53:12 +0000
commit3c7c74b35051ae9a82ce18e2f863bf39847cce11 (patch)
tree199327299148a9339547c861fb0f5157f7c57d98
parentd77500de2920f329ce8fc9dddee5fbe986bf00a1 (diff)
downloadlcd4linux-3c7c74b35051ae9a82ce18e2f863bf39847cce11.tar.gz
[lcd4linux @ 2003-10-03 03:53:12 by reinelt]
compile error in parport fixed (thanks to Andrew from FilmCan)
-rw-r--r--parport.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/parport.c b/parport.c
index 204ba20..d177234 100644
--- a/parport.c
+++ b/parport.c
@@ -1,4 +1,4 @@
-/* $Id: parport.c,v 1.8 2003/09/09 06:54:43 reinelt Exp $
+/* $Id: parport.c,v 1.9 2003/10/03 03:53:12 reinelt Exp $
*
* generic parallel port handling
*
@@ -20,6 +20,9 @@
*
*
* $Log: parport.c,v $
+ * Revision 1.9 2003/10/03 03:53:12 reinelt
+ * compile error in parport fixed (thanks to Andrew from FilmCan)
+ *
* Revision 1.8 2003/09/09 06:54:43 reinelt
* new function 'cfg_number()'
*
@@ -442,7 +445,14 @@ void parport_debug(void)
{
unsigned char control;
- ioctl (PPfd, PPRCONTROL, &control);
+#ifdef WITH_PPDEV
+ if (PPdev) {
+ ioctl (PPfd, PPRCONTROL, &control);
+ } else
+#endif
+ {
+ control=ctr;
+ }
debug ("%cSTROBE %cAUTOFD %cINIT %cSELECT",
control & PARPORT_CONTROL_STROBE ? '-':'+',
141009.d26b627upstream/0+git20141009.d26b627Jonathan McCrohan2010-11120/+159271 2014-07-23Release 0+git20140611.14bd6c7-1debian/0+git20140611.14bd6c7-1Jonathan McCrohan1-2/+2 2014-07-23New Upstream Snapshot (commit 14bd6c7)Jonathan McCrohan1-2/+3 2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13New Upstream Snapshot (commit 1246b27)Jonathan McCrohan1-0/+6 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9