aboutsummaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorreinelt <>2002-04-29 11:00:28 +0000
committerreinelt <>2002-04-29 11:00:28 +0000
commitb56cb43712ed521aec956ffff5179c15d1a1f0e3 (patch)
treef8b0a611d773d5bd691d9156392ee3704d79d2fc /exec.c
parent08aa9cb22d81fd0d020544c5f8deadec5970fd21 (diff)
downloadlcd4linux-b56cb43712ed521aec956ffff5179c15d1a1f0e3.tar.gz
[lcd4linux @ 2002-04-29 11:00:25 by reinelt]
added Toshiba T6963 driver added ndelay() with nanosecond resolution
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index 3544745..732ac04 100644
--- a/exec.c
+++ b/exec.c
@@ -1,4 +1,4 @@
-/* $Id: exec.c,v 1.6 2001/03/15 09:13:22 ltoetsch Exp $
+/* $Id: exec.c,v 1.7 2002/04/29 11:00:28 reinelt Exp $
*
* exec ('x*') functions
*
@@ -20,6 +20,11 @@
*
*
* $Log: exec.c,v $
+ * Revision 1.7 2002/04/29 11:00:28 reinelt
+ *
+ * added Toshiba T6963 driver
+ * added ndelay() with nanosecond resolution
+ *
* Revision 1.6 2001/03/15 09:13:22 ltoetsch
* delay first exec for faster start
*
@@ -95,8 +100,10 @@ int Exec(int index, char buff[EXEC_TXT_LEN], double *val)
else {
sprintf(xn, "Delay_x%d", index);
/* delay in Delay_x* sec ? */
- if (time(NULL) <= now[index] + atoi(cfg_get(xn)?:"1"))
+ debug ("%s=%s",xn,cfg_get(xn));
+ if (time(NULL) <= now[index] + atoi(cfg_get(xn)?:"1")) {
return 0;
+ }
}
}
time(&now[index]);