aboutsummaryrefslogtreecommitdiffstats
path: root/processor.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-10 15:59:39 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-10 15:59:39 +0000
commit35b12c1caeb9e9e3f326511c429f69eaf864ac32 (patch)
tree4af0f59244917dc8c60379be75ac8b5959af05ba /processor.c
parent4565aa4f3c0898a2e4e8ab14b693c3c6df2a3890 (diff)
downloadlcd4linux-35b12c1caeb9e9e3f326511c429f69eaf864ac32.tar.gz
[lcd4linux @ 2003-09-10 15:59:39 by reinelt]
minor cleanups git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@239 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'processor.c')
-rw-r--r--processor.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/processor.c b/processor.c
index 9d2b48f..e25ba0a 100644
--- a/processor.c
+++ b/processor.c
@@ -1,4 +1,4 @@
-/* $Id: processor.c,v 1.43 2003/09/10 14:01:53 reinelt Exp $
+/* $Id: processor.c,v 1.44 2003/09/10 15:59:39 reinelt Exp $
*
* main data processing
*
@@ -20,6 +20,9 @@
*
*
* $Log: processor.c,v $
+ * Revision 1.44 2003/09/10 15:59:39 reinelt
+ * minor cleanups
+ *
* Revision 1.43 2003/09/10 14:01:53 reinelt
* icons nearly finished\!
*
@@ -872,9 +875,6 @@ void process (void)
int i, j, val;
char *txt;
- // Fixme:
- static int junk=0;
-
// collect data every tick msec
if (loop_tick==0) {
collect_data();
@@ -911,10 +911,11 @@ void process (void)
// rotate icon animations
if (loop_icon==0) {
+ static int sequence=0;
for (i=1; i<=icons; i++) {
- lcd_icon (i, junk, 0, 0);
+ lcd_icon (i, sequence, 0, 0);
}
- junk++;
+ sequence++;
}
// flush in every case