aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-11-16 09:45:49 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-11-16 09:45:49 +0000
commit3fbb7650e8a7e1e7d85b936e482a66d2ced07ac1 (patch)
tree0bec4ffc619211e7fa2ca025a89f5ed8fd6a0dcd /lcd4linux.c
parentae1cb845f70abf6a78abf85e2e537a32480adae2 (diff)
downloadlcd4linux-3fbb7650e8a7e1e7d85b936e482a66d2ced07ac1.tar.gz
[lcd4linux @ 2003-11-16 09:45:49 by reinelt]
Crystalfontz changes, small glitch in getopt() fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@274 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'lcd4linux.c')
-rw-r--r--lcd4linux.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lcd4linux.c b/lcd4linux.c
index 271373e..3332ba4 100644
--- a/lcd4linux.c
+++ b/lcd4linux.c
@@ -1,4 +1,4 @@
-/* $Id: lcd4linux.c,v 1.50 2003/10/22 04:19:16 reinelt Exp $
+/* $Id: lcd4linux.c,v 1.51 2003/11/16 09:45:49 reinelt Exp $
*
* LCD4Linux
*
@@ -22,6 +22,9 @@
*
*
* $Log: lcd4linux.c,v $
+ * Revision 1.51 2003/11/16 09:45:49 reinelt
+ * Crystalfontz changes, small glitch in getopt() fixed
+ *
* Revision 1.50 2003/10/22 04:19:16 reinelt
* Makefile.in for imon.c/.h, some MatrixOrbital clients
*
@@ -366,7 +369,7 @@ int main (int argc, char *argv[])
#ifdef USE_OLD_UDELAY
while ((c=getopt (argc, argv, "c:dFf:hilo:qv"))!=EOF) {
#else
- while ((c=getopt (argc, argv, "c:dFf:hilo:qv"))!=EOF) {
+ while ((c=getopt (argc, argv, "c:Ff:hilo:qv"))!=EOF) {
#endif
switch (c) {
case 'c':
@@ -375,13 +378,10 @@ int main (int argc, char *argv[])
exit(2);
}
break;
- case 'd':
#ifdef USE_OLD_UDELAY
+ case 'd':
calibrate();
exit(0);
-#else
- fprintf (stderr, "delay calibration no longer supported!\n");
- exit(1);
#endif
case 'F':
running_foreground++;