diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2002-04-29 11:00:28 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2002-04-29 11:00:28 +0000 |
commit | e0bc8f47b964169bcbec3ce14d1aca38bc024cee (patch) | |
tree | f8b0a611d773d5bd691d9156392ee3704d79d2fc /exec.c | |
parent | c9a403a8364c906a54c24a9465299bb7e45e53f6 (diff) | |
download | lcd4linux-e0bc8f47b964169bcbec3ce14d1aca38bc024cee.tar.gz |
[lcd4linux @ 2002-04-29 11:00:25 by reinelt]
added Toshiba T6963 driver
added ndelay() with nanosecond resolution
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@152 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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]); |